parent
9b1c366b8c
commit
9c641aca00
1 changed files with 5 additions and 5 deletions
|
|
@ -347,7 +347,11 @@ let paymentQueue = async.queue(function (paymentDetails, callback) {
|
|||
|
||||
paymentQueue.drain = function(){
|
||||
extraPaymentRound = false;
|
||||
paymentTimer = setInterval(makePayments, global.config.payout.timer * 60 * 1000);
|
||||
if (global.config.payout.timer > 35791){
|
||||
console.error("Payout timer is too high. Please use a value under 35791 to avoid overflows.");
|
||||
} else {
|
||||
paymentTimer = setInterval(makePayments, global.config.payout.timer * 60 * 1000);
|
||||
}
|
||||
global.database.setCache('lastPaymentCycle', Math.floor(Date.now()/1000));
|
||||
sock.send(['payments', 'complete']);
|
||||
};
|
||||
|
|
@ -685,10 +689,6 @@ function init() {
|
|||
setInterval(updateShapeshiftCompletion, 90000);
|
||||
setInterval(determineBestExchange, 60000);
|
||||
}
|
||||
setInterval(function () {
|
||||
global.support.rpcWallet("sweep_dust", [], function () {
|
||||
});
|
||||
}, 86400000 * 3);
|
||||
setInterval(function () {
|
||||
global.support.rpcWallet("store", [], function () {
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue