From: Mike Taylor Date: Fri, 6 Jun 2014 16:45:28 +0000 (+0100) Subject: The onStat function logs "complete" when publishing the "complete" event. X-Git-Tag: 1.0.0~536 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=1c7c78281b920e8924c6ff210a01dd54ff7c534b The onStat function logs "complete" when publishing the "complete" event. --- diff --git a/src/mkws-team.js b/src/mkws-team.js index 2e6db95..25a24d6 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -126,6 +126,7 @@ function team($, teamName) { queue("firstrecords").publish(hitcount); } if (parseInt(data.activeclients[0], 10) === 0) { + log("complete"); queue("complete").publish(hitcount); } }