Timeout added to avoid unnecesary processing

This commit is contained in:
Luis Fernando Molina committed 2018-02-07 22:03:08 +01:00
1 parent 19e94d0861
commit e0f52b03e9
3 files changed
+4 -3

No files matched your search

+1
View File
@@ -3,3 +3,4 @@
*.connstring
.vs/AACharly/v15/.suo
*.log
*.cache
+2 -2
View File
@@ -3,7 +3,7 @@
let bot = BOT;
const ROOT_DIR = '../';
const INTERVAL_LAPSE = 24 * 60 * 60 * 1000;
const INTERVAL_LAPSE = 60 * 1000;
const MODULE_NAME = "Poloniex Exchange Hole Fixing";
const LOG_INFO = true;
@@ -145,7 +145,7 @@
const logText = "[WARN] 'loopControl'. Staring new Interval. ";
logger.write(logText);
startNewInterval(); // Looped Execution.
setTimeout(startNewInterval, INTERVAL_LAPSE);// Looped Execution.
}
@@ -1 +1 @@
d6fbcd9dd21c7507a1f541889ba0813bf94e2b64
8008641c32de4b2ed04a9435bcf9038b458ab73a