I am using a monitoring service plugin to save one-to-one chats in db (mysql). But I observe that there is some delay of about 1 minute between the time a message was received and stored in db.
If the user refreshes the page, then the latest messages are not displayed.
How to avoid this delay?
source
share