Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions
You are not logged in.
Pages: 1
Hello. When the admin panel is open in the browser, the chat generates too many PHP requests at this time. The chat makes a lot of requests, sometimes 2 requests every second. I am having problems with the number of PHP requests on the hosting due to the chat. I changed to proactive: false but it didn't help.
Please tell me what it can be and how to change it.
[Thu Apr 01 09:32:58 2021] [info] Executing "/home/*******/public_html/chat/index.php" as UID 802, GID 798
[Thu Apr 01 09:32:58 2021] [info] Executing "/home/*******/public_html/chat/index.php" as UID 802, GID 798
[Thu Apr 01 09:32:56 2021] [info] Executing "/home/*******/public_html/chat/index.php" as UID 802, GID 798
[Thu Apr 01 09:32:55 2021] [info] Executing "/home/*******/public_html/chat/index.php" as UID 802, GID 798
Last edited by sobolevfff (2021-04-14 17:30:35)
Offline
You did not provided any usefull information about what exactly requests you are talking.
You can play around with these
https://doc.livehelperchat.com/docs/cha … in-seconds
And make sure you set both to false in your embed code
proactive : false,
check_messages : false,
Offline
The script looks now like this
<script>var LHC_API = LHC_API||{};
LHC_API.args = {mode:'widget',lhc_base_url:'//*******.com/chat/index.php/',wheight:450,wwidth:350,pheight:520,pwidth:500,domain:'*******.com',leaveamessage:true,check_messages:false,proactive:false};
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.setAttribute('crossorigin','anonymous'); po.async = true;
var date = new Date();po.src = '//******.com/chat/design/defaulttheme/js/widgetv2/index.js?'+(""+date.getFullYear() + date.getMonth() + date.getDate());
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
When I open the chat control panel in the browser, the number of requests increases dramatically until the tab is closed
Offline
https://doc.livehelperchat.com/docs/cha … in-seconds Play around with these settings
Offline
I tried various settings and found that a large number of requests are generated if a tab is open where users are shown online.
Offline
As long you are not reading what I’m writing not much I can help this document tells it all. You just have to decrease frequenc how often check for a new messge
Offline
Now I have made these settings. Can you please tell me what can be improved further?
Offline
This looks fine not much else you can improve
Offline
Nothing has changed for the better. As soon as I open the chat control panel in the browser, it immediately generates many requests, even if I go to the lists tab, where users are not visible online.
Offline
Pages: 1