diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-25 13:02:14 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-25 13:02:14 +0200 |
| commit | ba8c9ce4bf2e23336c7bb8539c4fdb92f943e614 (patch) | |
| tree | e9bb371f3b2c08f7ba07fde9214a3ac852be4b5e | |
| parent | 94f025db5247bb7b88c64c1f8d3c2e7d0134033d (diff) | |
| download | cruncher-ba8c9ce4bf2e23336c7bb8539c4fdb92f943e614.tar.gz cruncher-ba8c9ce4bf2e23336c7bb8539c4fdb92f943e614.zip | |
fix global crunches
| -rw-r--r-- | worker.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -82,7 +82,7 @@ if (LOGGLY_TOKEN) await ch.prefetch(BATCHSIZE); ch.consume("crunch", (msg) => { const api_id = msg.content.toString(); - if (msg.type == "global") + if (msg.properties.type == "global") participants.add(api_id); // else exclusively add data to player, used for player refresh participants_player.add(api_id); |
