Skip to content

Commit

Permalink
chore(registration): integer ms between registrations
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego Rodriguez Baquero committed Aug 18, 2023
1 parent 6a09a17 commit 5d16490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion container/shim/src/modules/registration.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export async function register(initial = false) {

await sendRegisterRequest(initial, registerOptions);

setTimeout(register, (NETWORK === "local" ? 1 : Math.random() * 5 + 5) * 60 * 1000);
setTimeout(register, Math.ceil((NETWORK === "local" ? 1 : Math.random() * 4 + 6) * 60 * 1000));
}

async function fetchRequirements() {
Expand Down

0 comments on commit 5d16490

Please sign in to comment.