co-consistent
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -43,3 +43,3 @@ "use strict"; | ||
Clock.prototype.createWaitTimeout = function (callback, waitTime) { | ||
return setTimeout(callback, Math.max(0, this.calculateRealTimeLeftTo(waitTime))); | ||
return setTimeout(callback, Math.max(0, Math.ceil(this.calculateRealTimeLeftTo(waitTime)))); | ||
}; | ||
@@ -46,0 +46,0 @@ Clock.prototype.calculateRealTimeLeftTo = function (waitTime) { |
{ | ||
"name": "co-consistent", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "globally consistent event ordering for decentralized distributed systems", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
23228