Commit 5c80c3f4 authored by Wandenberg's avatar Wandenberg

first long polling connection done with setTimeout to avoid the spinner on browser

parent 35c74509
......@@ -774,8 +774,8 @@ Authors: Wandenberg Peixoto <wandenberg@gmail.com>, Rogério Carvalho Schneider
if (this.useJSONP) {
this.pushstream.messagesControlByArgument = true;
}
this._internalListen();
this.opentimer = window.setTimeout(linker(onopenCallback, this), 100);
this._listen();
this.opentimer = window.setTimeout(linker(onopenCallback, this), 150);
Log4js.info("[LongPolling] connecting to:", this.xhrSettings.url);
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment