Multi Process Execution Ready
This commit is contained in:
1 parent
0508a1e20c
commit
a4759ebf45
9 files changed
+265
-190
No files matched your search
@@ -13,6 +13,7 @@
|
||||
const logger = DEBUG_MODULE.newDebugLog();
|
||||
logger.fileName = MODULE_NAME;
|
||||
logger.bot = bot;
|
||||
logger.forceLoopSplit = true;
|
||||
|
||||
let thisObject = {
|
||||
initialize: initialize,
|
||||
@@ -55,7 +56,7 @@
|
||||
function loop() {
|
||||
|
||||
try {
|
||||
global.loopCointer++;
|
||||
bot.loopCounter++;
|
||||
|
||||
if (FULL_LOG === true) { logger.write("[INFO] run -> loop -> Entering function."); }
|
||||
|
||||
@@ -74,8 +75,8 @@
|
||||
|
||||
/* We will prepare first the infraestructure needed for the bot to run. There are 3 modules we need to sucessfullly initialize first. */
|
||||
|
||||
let dependencies;
|
||||
let userBot;
|
||||
let dependencies;
|
||||
|
||||
let nextWaitTime;
|
||||
|
||||
|
||||
Reference in new issue
Block a user