think-cluster
Advanced tools
Comparing version 1.5.4 to 1.5.5
@@ -139,3 +139,5 @@ const cluster = require('cluster'); | ||
const callback = action; | ||
action = `think-messenger-${taskId++}`; | ||
count = count % Number.MAX_SAFE_INTEGER + 1; | ||
const taskId = count + '' + process.pid; | ||
action = `think-messenger-${taskId}`; | ||
this.once(action, callback); | ||
@@ -142,0 +144,0 @@ // remove event callback after timeout, avoid memory leak |
{ | ||
"name": "think-cluster", | ||
"description": "Cluster manage for ThinkJS", | ||
"version": "1.5.4", | ||
"version": "1.5.5", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "welefen", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
50965
1807