Tunnel: Reduce the IBGW and client OBGW batch time

Should reduce RTT by 225 ms
This commit is contained in:
zzz
2020-05-20 10:48:00 +00:00
parent e16c0a3271
commit 4b7c62aa9c

View File

@ -24,11 +24,11 @@ class BatchedRouterPreprocessor extends BatchedPreprocessor {
/** This goes in router advanced config */
public static final String PROP_ROUTER_BATCH_FREQUENCY = "router.batchFrequency";
/** for client OBGWs only (our data) */
public static final int OB_CLIENT_BATCH_FREQ = 75;
public static final int OB_CLIENT_BATCH_FREQ = 37;
/** for exploratory OBGWs only (our tunnel tests and build messages) */
public static final int OB_EXPL_BATCH_FREQ = 100;
/** for IBGWs for efficiency (not our data) */
public static final int DEFAULT_BATCH_FREQUENCY = 150;
public static final int DEFAULT_BATCH_FREQUENCY = 75;
/** for OBGWs */
public BatchedRouterPreprocessor(RouterContext ctx, TunnelCreatorConfig cfg) {