After Steam completes its Tuesday maintenance and reconnects, I've noticed that the confirmation check runs twice. Here's a snippet from the debugger:
It's clear from the post-reconnection logs that the "Checking confirmations" command is being executed twice concurrently. How can I modify it to run just a single time, as it used to?
Code
this.client.on('webSession', (_, cookies) => {
this.manager.setCookies(cookies, (err) => {
if (err) {
if (envVars.NODE_ENV === 'development') {
Log.error("Bot: " + this.botNumber + " An error occurred while setting cookies:" + err);
}
}
if (envVars.NODE_ENV === 'development') {
Log.info("Bot: " + this.botNumber + " Websession created and cookies set");
}
this.process();
});
this.community.setCookies(cookies);
this.community.startConfirmationChecker(envVars.BOT_CONFIRMATION_TIME, this.identitySecret);
//this.client.on('debug', (msg) => console.log(msg));
this.community.on('debug', (msg) => console.log(msg));
});