repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Provide a cluster worker pool (#92)
[poolifier.git]
/
tests
/
workers
/
echoWorker.js
diff --git
a/tests/workers/echoWorker.js
b/tests/workers/echoWorker.js
deleted file mode 100644
(file)
index
1026a36
..0000000
--- a/
tests/workers/echoWorker.js
+++ /dev/null
@@
-1,8
+0,0 @@
-'use strict'
-const { ThreadWorker } = require('../../lib/workers')
-
-function echo (data) {
- return data
-}
-
-module.exports = new ThreadWorker(echo, { maxInactiveTime: 500 })