repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Documenation and improvements
[poolifier.git]
/
lib
/
util.js
diff --git
a/lib/util.js
b/lib/util.js
index bac53ec46c75c78cbe9d7b8b31a60fd6d8d2bd64..70a50744d684ef562eeae9ca9a5902feb5c27f72 100644
(file)
--- a/
lib/util.js
+++ b/
lib/util.js
@@
-11,8
+11,3
@@
const uuid = require('uuid/v4')
module.exports.generateID = () => {
return uuid()
}
-
-module.exports.randomWorker = (collection) => {
- const keys = Array.from(collection.keys())
- return keys[Math.floor(Math.random() * keys.length)]
-}