repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge dependabot/npm_and_yarn/examples/typescript/http-server-pool/fastify-worker_thr...
[poolifier.git]
/
tests
/
worker-files
/
thread
/
emptyWorker.js
diff --git
a/tests/worker-files/thread/emptyWorker.js
b/tests/worker-files/thread/emptyWorker.js
index 6a146c2653496f99238945c6648aa1dbe51ab4e2..d77b472d22ac3291b5657b8107a6a1c69861f6b7 100644
(file)
--- a/
tests/worker-files/thread/emptyWorker.js
+++ b/
tests/worker-files/thread/emptyWorker.js
@@
-1,9
+1,9
@@
'use strict'
'use strict'
-const { ThreadWorker, KillBehaviors } = require('../../../lib
/index
')
+const { ThreadWorker, KillBehaviors } = require('../../../lib')
-function test (
data
) {}
+function test () {}
module.exports = new ThreadWorker(test, {
module.exports = new ThreadWorker(test, {
-
maxInactiveTime: 500
,
- killBehavior: KillBehaviors.HARD
+
killBehavior: KillBehaviors.HARD
,
+ maxInactiveTime: 500
})
})