This topic is locked
[SOLVED]

Chat Template - Server Load Troubleshooting

7/12/2021 1:06:16 PM
General Tips and Tricks
D
DRCR Dev author

Hi

I purchased the chat template and experience a weird server issue. Opening one page in a broswer that references the chat template causes the server load to shoot up very quickly. But it only does it sometimes and not others (I cant work out why). As soon as I close the broswer, the server load returns to normal.

I need to run more tests but if anyone has had this issue and worked out the solution, please let me know.

Thanks in advance for any help.
Cec

admin 7/12/2021

Make sure that under Chat Settings "Refresh time period in seconds" value is set to some reasonable interval like 5 seconds.

D
DRCR Dev author 7/12/2021

Thanks. I'll give that a try when I'm back at the office. I'm away from my windows dev machine for a few days.

Appreciate the help.
Cec

D
DRCR Dev author 7/14/2021

Hi

The chat_settings for time period that is attached to id=1, is that a global variable for the entire script or should there be a setting for each chat user?

It seems I have no issue when the chat_setting.id equals chat_user.id but I'm not sure if thats a coincidence just yet.

-Cec

admin 7/14/2021

These are global settings that apply to all users.