Skip to content

Commit

Permalink
reconnect duplicate
Browse files Browse the repository at this point in the history
  • Loading branch information
howardchung committed Oct 10, 2023
1 parent 5fff04d commit c826b33
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions svc/retriever.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const app = express();
const steamObj = {};
const minUpTimeSeconds = 600;
const timeoutMs = 1500;
const accountsToUse = 3;
const accountsToUse = 2;
const matchRequestLimit = 950;
const port = config.PORT || config.RETRIEVER_PORT;
const matchRequestDelay = 400;
Expand Down Expand Up @@ -287,11 +287,8 @@ function init() {
console.error(logOnResp);
// give up
// cb();
// try again with new account
// try again
client.connect();
const logOnDetails = chooseLoginInfo();
console.log("[STEAM] Trying to log on with %s", JSON.stringify(logOnDetails));
client.steamUser.logOn(logOnDetails);
return;
}

Expand Down

0 comments on commit c826b33

Please sign in to comment.