Skip to content

Commit 5d16490

Browse files
author
Diego Rodriguez Baquero
committed
chore(registration): integer ms between registrations
1 parent 6a09a17 commit 5d16490

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

container/shim/src/modules/registration.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export async function register(initial = false) {
110110

111111
await sendRegisterRequest(initial, registerOptions);
112112

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

116116
async function fetchRequirements() {

0 commit comments

Comments
 (0)