diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-13 12:58:03 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-13 12:58:03 +0200 |
| commit | e992a3878bb244b49da1ad779c931dc57509e784 (patch) | |
| tree | 7ca79d1a1d97245750fa8276db81d6c3ced536d0 | |
| parent | a20188501228db27b30646a62d94aed2eb1f323d (diff) | |
| download | processor-e992a3878bb244b49da1ad779c931dc57509e784.tar.gz processor-e992a3878bb244b49da1ad779c931dc57509e784.zip | |
use api_id to identify gamers
| -rw-r--r-- | worker.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -95,7 +95,7 @@ function snakeCaseKeys(obj) { // TODO expire this cache after some time let premium_users = (await model.Gamer.findAll()).map((gamer) => - gamer.name); + gamer.api_id); // as long as the queue is filled, msg are not ACKed // server sends as long as there are less than `prefetch` unACKed |
