mirror of
https://github.com/jwinterm/nodejs-pool.git
synced 2026-12-05 12:23:59 +01:00
Adding keepalived support to the pool source.
This commit is contained in:
@@ -694,6 +694,13 @@ function handleMinerData(method, params, ip, portData, sendReply, pushMessage) {
|
|||||||
|
|
||||||
sendReply(null, {status: 'OK'});
|
sendReply(null, {status: 'OK'});
|
||||||
break;
|
break;
|
||||||
|
case 'keepalived':
|
||||||
|
if (!miner) {
|
||||||
|
sendReply('Unauthenticated');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
sendReply('KEEPALIVED');
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user