Chat UI updates every 2 seconds, instead of 1.
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -11,7 +11,7 @@ var ChatBoxUI = Class.extend({
|
||||
maxMessageCount:500,
|
||||
talkBoxHeight:25,
|
||||
|
||||
chatUpdateInterval:1000,
|
||||
chatUpdateInterval:2000,
|
||||
|
||||
playerListener:null,
|
||||
hiddenClasses:null,
|
||||
|
||||
Reference in New Issue
Block a user