repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change killBehaviorEnumeration to killBehaviorTypes
[poolifier.git]
/
tests
/
worker
/
cluster
/
longRunningWorkerHardBehavior.js
diff --git
a/tests/worker/cluster/longRunningWorkerHardBehavior.js
b/tests/worker/cluster/longRunningWorkerHardBehavior.js
index 9fe9d3f8e7152bb1525a38755e2294151a3e133d..4dc69525fac2746feea5891e477126d49e3f200a 100644
(file)
--- a/
tests/worker/cluster/longRunningWorkerHardBehavior.js
+++ b/
tests/worker/cluster/longRunningWorkerHardBehavior.js
@@
-1,5
+1,5
@@
'use strict'
'use strict'
-const { ClusterWorker, killBehavior
Enumeration
} = require('../../../lib/index')
+const { ClusterWorker, killBehavior
Types
} = require('../../../lib/index')
async function sleep (data) {
return new Promise((resolve, reject) => {
async function sleep (data) {
return new Promise((resolve, reject) => {
@@
-10,5
+10,5
@@
async function sleep (data) {
module.exports = new ClusterWorker(sleep, {
maxInactiveTime: 500,
async: true,
module.exports = new ClusterWorker(sleep, {
maxInactiveTime: 500,
async: true,
- killBehavior: killBehavior
Enumeration
.HARD
+ killBehavior: killBehavior
Types
.HARD
})
})