[Xmpp4js-commit] SF.net SVN: xmpp4js:[758] trunk/src/main/javascript/transport/Base.js
Status: Beta
Brought to you by:
h-iverson
From: <h-i...@us...> - 2008-07-28 05:56:08
|
Revision: 758 http://xmpp4js.svn.sourceforge.net/xmpp4js/?rev=758&view=rev Author: h-iverson Date: 2008-07-28 05:56:18 +0000 (Mon, 28 Jul 2008) Log Message: ----------- changed wait timeout to 45 because safari has a 60 second timeout and it was problematic on polls Modified Paths: -------------- trunk/src/main/javascript/transport/Base.js Modified: trunk/src/main/javascript/transport/Base.js =================================================================== --- trunk/src/main/javascript/transport/Base.js 2008-07-28 05:16:47 UTC (rev 757) +++ trunk/src/main/javascript/transport/Base.js 2008-07-28 05:56:18 UTC (rev 758) @@ -53,10 +53,11 @@ */ this.port = config.port || 5222; /** - * The time to wait for a response from the server, in seconds. defaults to 60 and can be adjusted by server. + * The time to wait for a response from the server, in seconds. defaults to 45 and can be adjusted by server. + * This is 45 because Safari has a 60 second timeout and it's problematic. - 7/2008 * @private */ - this.wait = config.wait || 60; + this.wait = config.wait || 45; /** * Picked up by Observable. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |