Dramatically decreasing the time for updates polling, that's because server will do the long poll on them anyway.
This commit is contained in:
@@ -11,7 +11,7 @@ var ChatBoxUI = Class.extend({
|
||||
maxMessageCount:500,
|
||||
talkBoxHeight:25,
|
||||
|
||||
chatUpdateInterval:2000,
|
||||
chatUpdateInterval:100,
|
||||
|
||||
playerListener:null,
|
||||
hiddenClasses:null,
|
||||
|
||||
@@ -916,7 +916,7 @@ var GameAnimations = Class.extend({
|
||||
setTimeout(
|
||||
function () {
|
||||
that.game.updateGameState();
|
||||
}, 1000);
|
||||
}, 100);
|
||||
|
||||
if (!animate)
|
||||
that.game.layoutUI(false);
|
||||
|
||||
Reference in New Issue
Block a user