From c7aa7b45116e57ce51efc310dd7cc2dcdde98715 Mon Sep 17 00:00:00 2001 From: schneefux Date: Thu, 28 Sep 2017 20:00:10 +0200 Subject: send phase ID as string, fixes OOM errors --- service_crunch.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service_crunch.js b/service_crunch.js index b326da8..4f73d0c 100644 --- a/service_crunch.js +++ b/service_crunch.js @@ -166,10 +166,10 @@ module.exports = class Cruncher extends Service { }); // tables are split, and so are services and queues await Promise.map(phases, async (ph) => - await this.forward(this.getTarget(category + "_phase"), ph.id, + await this.forward(this.getTarget(category + "_phase"), ph.id.toString(), { persistent: true })); await Promise.map(phases, async (ph) => - await this.forward(this.getTarget(category + "_ban"), ph.id, + await this.forward(this.getTarget(category + "_ban"), ph.id.toString(), { persistent: true })); // update lphcid & refetch -- cgit v1.3.1