Session resume and first loop

This commit is contained in:
Luis Fernando Molina committed 2020-11-30 14:19:19 +01:00
1 parent 53973e5491
commit 583ef49f1d
9 files changed
+31 -29

No files matched your search

@@ -16,14 +16,16 @@ exports.newSuperalgosGlobalsProcessVariables = function () {
What it is stored here depends very much on what the process is about and what it needs to do. Following
is a list of known properties of this object.
PROCESS_KEY This is the key used in events related to the Process
SESSION_KEY This is the key used in events related to the Session
SESSION_FOLDER_NAME This is the folder name for Session related data and logs.
MAIN_LOOP_COUNTER This is the counter of main loops for a bot process.
LOGS_TO_DELETE_QUEUE This stores the logs that need to be deleted, for auto mantainance.
SOCIAL_BOTS_MODULE This is the module that controls social bots.
IS_SESSION_STOPPING This tell us if a session is in the process of being stopped.
SESSION_STATUS This tell us the status of the session at any given time.
PROCESS_KEY This is the key used in events related to the Process
SESSION_KEY This is the key used in events related to the Session
SESSION_FOLDER_NAME This is the folder name for Session related data and logs.
MAIN_LOOP_COUNTER This is the counter of main loops for a bot process.
LOGS_TO_DELETE_QUEUE This stores the logs that need to be deleted, for auto mantainance.
SOCIAL_BOTS_MODULE This is the module that controls social bots.
SESSION_STATUS This tell us the status of the session at any given time.
IS_SESSION_STOPPING This tell us if a session is in the process of being stopped.
IS_SESSION_RESUMING This tell us if a session is resuming from the state at the previous execution.
IS_SESSION_FIRST_LOOP This tell us if we are at the execution of the first loop of the bot related to this session.
*/
return thisObject
}