Active
Project:
phpFreeChat integration
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Nov 2009 at 22:42 UTC
Updated:
20 May 2010 at 02:35 UTC
Hi,
First of all I would like to thank you for your effort on this module,
I just installed it and it seems that handler.php causes my pings to be >2 seconds.
I isolated problem to be this line:
$chat = new phpFreeChat($params);
Do you know why it takes so long and if it can be modified somehow to speed it up? In demo I have pings similar to 25ms.
Thank you in advance,
Regards,
bloto
Comments
Comment #1
bloto commentedHmm it seems I have this ping due to file.class.php container which has sleep inside
$timetowait = 2;
So the question is why isn't this code called in demo?
Comment #2
polskikrol commentedHad the same exact problem and set the parameter to 0. Issues with speed and missing messages seem to have gone away.
Comment #3
Lee-vit-Over commentedHi polskikrol, forgive my ignorance, but what parameter did you set to 0 ? and in the settings, or in the code, and if code - where, please ? THANK YOU!
Comment #4
polskikrol commented@Lee-vit-Over
$timetowait = 0; in file.class.php