mirror of
https://github.com/jwinterm/nodejs-pool.git
synced 2026-10-17 05:21:27 +02:00
Resetting the setInterval system so it can't blow up in our faces.
This commit is contained in:
+1
-1
@@ -294,7 +294,7 @@ let paymentQueue = async.queue(function (paymentDetails, callback) {
|
|||||||
payments Payment made: {"id":"0","jsonrpc":"2.0","result":{"fee":40199391255,"tx_hash":"c418708643f72635edf522490bfb2cae9d42a6dc1df30dcde844862dfd88f5b3","tx_key":""}} +2s
|
payments Payment made: {"id":"0","jsonrpc":"2.0","result":{"fee":40199391255,"tx_hash":"c418708643f72635edf522490bfb2cae9d42a6dc1df30dcde844862dfd88f5b3","tx_key":""}} +2s
|
||||||
*/
|
*/
|
||||||
if (paymentTimer !== null){
|
if (paymentTimer !== null){
|
||||||
paymentTimer.cancel();
|
clearInterval(paymentTimer);
|
||||||
paymentTimer = null;
|
paymentTimer = null;
|
||||||
}
|
}
|
||||||
debug("Making payment based on: " + JSON.stringify(paymentDetails));
|
debug("Making payment based on: " + JSON.stringify(paymentDetails));
|
||||||
|
|||||||
Reference in New Issue
Block a user