- Timestamp:
- 07/06/13 02:25:15 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/com/bowman/cardserv/cws/AbstractCwsConnector.java
r74 r236 18 18 public abstract class AbstractCwsConnector implements Comparable, Runnable, CwsConnector { 19 19 20 private static final int RAMPUP_ECM_TIME = 400;20 private static final int RAMPUP_ECM_TIME = 200, BEST_ECM_TIME = 50; 21 21 22 22 protected static final int LOGIN_SO_TIMEOUT = 30 * 1000; … … 234 234 public int getEstimatedQueueTime() { 235 235 if(successEcmCount == 0) return RAMPUP_ECM_TIME; 236 else if(config.isCatchAll() && getQueueSize() == 0) return BEST_ECM_TIME; // be optimistic 236 237 else return (getQueueSize() + 1) * getCurrentEcmTime(); 237 238 }
Note:
See TracChangeset
for help on using the changeset viewer.