mirror of
https://github.com/jwinterm/nodejs-pool.git
synced 2026-10-17 05:21:27 +02: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'});
|
||||
break;
|
||||
case 'keepalived':
|
||||
if (!miner) {
|
||||
sendReply('Unauthenticated');
|
||||
return;
|
||||
}
|
||||
sendReply('KEEPALIVED');
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user