reduce the throttle threshold from 5s lag to 2s lag

This commit is contained in:
jrandom
2004-07-09 05:22:29 +00:00
committed by zzz
parent 90fe7dceec
commit c81f864de3

View File

@ -14,11 +14,11 @@ class RouterThrottleImpl implements RouterThrottle {
private Log _log;
/**
* arbitrary hard limit of 5 seconds - if its taking this long to get
* arbitrary hard limit of 2 seconds - if its taking this long to get
* to a job, we're congested.
*
*/
private static int JOB_LAG_LIMIT = 5000;
private static int JOB_LAG_LIMIT = 2000;
public RouterThrottleImpl(RouterContext context) {
_context = context;