Update to make sure we clear the shares every submit.

master
Alexander Blair 7 years ago
parent 2bbcc70ff1
commit e6cf90a230

@ -75,9 +75,8 @@ if (cluster.isMaster) {
setInterval(function(){
if (Object.keys(shareData).length > 0){
if (global.database.storeBulkShares(shareData)){
shareData = [];
}
global.database.storeBulkShares(shareData);
shareData = [];
}
}, 1000);

Loading…
Cancel
Save