handler.php slow as hell

bloto - November 3, 2009 - 22:42
Project:phpfreechat
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

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

#1

bloto - November 4, 2009 - 09:41

Hmm 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?

 
 

Drupal is a registered trademark of Dries Buytaert.