diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-13 15:58:42 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-13 15:58:42 +0200 |
| commit | 836dfe426c5681c68995d825e67305e8d09536ca (patch) | |
| tree | b640a5ddb6459c3d09551fa7ceed046cd5dca605 | |
| parent | f69cbf7d1891127358120ea52ca19e71f55a4940 (diff) | |
| download | shrinker-836dfe426c5681c68995d825e67305e8d09536ca.tar.gz shrinker-836dfe426c5681c68995d825e67305e8d09536ca.zip | |
decrease idle timeout
| -rw-r--r-- | worker.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,7 +12,7 @@ var RABBITMQ_URI = process.env.RABBITMQ_URI, DATABASE_URI = process.env.DATABASE_URI, // matches + players (2 pages for 100 players) BATCHSIZE = parseInt(process.env.BATCHSIZE) || 4 * 50 * (1 + 5), - IDLE_TIMEOUT = parseFloat(process.env.IDLE_TIMEOUT) || 2000, // ms + IDLE_TIMEOUT = parseFloat(process.env.IDLE_TIMEOUT) || 500, // ms PREMIUM_FEATURES = process.env.PREMIUM_FEATURES || false; // calculate on demand for non-premium users console.log("features for premium users activated", PREMIUM_FEATURES); |
