Using memcached
This commit is contained in:
1 parent
e016d5cc5f
commit
6f445bf3b9
3 files changed
+64
-48
No files matched your search
+2
-4
@@ -53,8 +53,6 @@ if cluster.isMaster
|
||||
console.log('worker ' + worker.process.pid + ' died')
|
||||
)
|
||||
else
|
||||
workerid = Math.floor(Math.random() * 1000)
|
||||
|
||||
for i in [1 .. 1000]
|
||||
sendRequest("device" + String(workerid) + String(i), TEMPLATE_TASKID, 0)
|
||||
for i in [1 .. 100]
|
||||
sendRequest("device#{cluster.worker.id}-#{i}", TEMPLATE_TASKID, 0)
|
||||
|
||||
Reference in new issue
Block a user