Chat UI updates every 2 seconds, instead of 1.

This commit is contained in:
marcins78@gmail.com
2013-01-07 23:02:22 +00:00
parent 35188a10e4
commit 57b068bc82
3 changed files with 3 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ public class ChatRoomMediator {
private Map<String, GatheringChatRoomListener> _listeners = new HashMap<String, GatheringChatRoomListener>();
private int _channelInactivityTimeoutPeriod = 1000 * 10; // 10 seconds
private int _channelInactivityTimeoutPeriod = 1000 * 20; // 10 seconds
private Set<String> _allowedPlayers;
private ReadWriteLock _lock = new ReentrantReadWriteLock();

View File

@@ -21,7 +21,7 @@ import java.util.concurrent.locks.ReadWriteLock;
import java.util.concurrent.locks.ReentrantReadWriteLock;
public class HallServer extends AbstractServer {
private final int _playerInactivityPeriod = 1000 * 20; // 10 seconds
private final int _playerInactivityPeriod = 1000 * 20; // 20 seconds
private final long _scheduledTournamentLoadTime = 1000*60*60*24*7; // Week
private ChatServer _chatServer;

View File

@@ -11,7 +11,7 @@ var ChatBoxUI = Class.extend({
maxMessageCount:500,
talkBoxHeight:25,
chatUpdateInterval:1000,
chatUpdateInterval:2000,
playerListener:null,
hiddenClasses:null,