Use a really fast select time so that things are snappy when testing.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@159 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: ConnectionManager.java,v 1.6 2001/07/19 18:06:57 mdb Exp $
|
// $Id: ConnectionManager.java,v 1.7 2001/08/03 02:12:52 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.cocktail.cher.server.net;
|
package com.threerings.cocktail.cher.server.net;
|
||||||
|
|
||||||
@@ -318,7 +318,7 @@ public class ConnectionManager extends LoopingThread
|
|||||||
// protected static final int SELECT_LOOP_TIME = 30 * 1000;
|
// protected static final int SELECT_LOOP_TIME = 30 * 1000;
|
||||||
|
|
||||||
// while we're testing, use a short loop time
|
// while we're testing, use a short loop time
|
||||||
protected static final int SELECT_LOOP_TIME = 1000;
|
protected static final int SELECT_LOOP_TIME = 10;
|
||||||
|
|
||||||
// codes for notifyObservers()
|
// codes for notifyObservers()
|
||||||
protected static final int CONNECTION_ESTABLISHED = 0;
|
protected static final int CONNECTION_ESTABLISHED = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user