From e992a3878bb244b49da1ad779c931dc57509e784 Mon Sep 17 00:00:00 2001 From: schneefux Date: Thu, 13 Apr 2017 12:58:03 +0200 Subject: use api_id to identify gamers --- worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'worker.js') diff --git a/worker.js b/worker.js index e667950..90d8274 100644 --- a/worker.js +++ b/worker.js @@ -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 -- cgit v1.3.1