32 queue workers for dealing with shares. Primarily non-blocking. Lets see if this plays better.

This commit is contained in:
Alexander Blair
2017-07-01 20:55:49 -07:00
parent 92740a4642
commit 296dd93b68
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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':