mirror of
https://github.com/jwinterm/nodejs-pool.git
synced 2026-10-17 05:21:27 +02:00
32 queue workers for dealing with shares. Primarily non-blocking. Lets see if this plays better.
This commit is contained in:
+1
-1
@@ -103,7 +103,7 @@ function messageHandler(message) {
|
||||
break;
|
||||
case 'sendRemote':
|
||||
if (cluster.isMaster) {
|
||||
global.database.sendQueue.push(Buffer.from(message.data, 'hex'));
|
||||
global.database.sendQueue.push({body: Buffer.from(message.body, 'hex')});
|
||||
}
|
||||
break;
|
||||
case 'trustedShare':
|
||||
|
||||
Reference in New Issue
Block a user