async-logging
Advanced tools
Comparing version 0.1.17 to 0.1.18
@@ -28,3 +28,3 @@ 'use strict'; | ||
totalMessages = 0, | ||
maxMessages = Math.floor((Math.random() + 1) * (options.maxMessages || 1024)), | ||
maxMessages = options.maxMessages, | ||
waitForPublisher = options.waitForPublisher || 2000,//2 sec | ||
@@ -151,3 +151,3 @@ maxLife = options.maxLife, | ||
if(maxLife){ | ||
setTimeout(suicide, maxLife * Math.floor((Math.random() * maxLife))); | ||
setTimeout(suicide, maxLife + Math.floor((Math.random() * maxLife))); | ||
} | ||
@@ -154,0 +154,0 @@ |
{ | ||
"author": "cubejs", | ||
"name": "async-logging", | ||
"version": "0.1.17", | ||
"version": "0.1.18", | ||
"description": "0.1.6 is the same as 0.2.2 just to get around ebay-logging-client vs. async-logging-client change", | ||
@@ -6,0 +6,0 @@ "repository": { |
34049