mirror of
https://github.com/tiennm99/WPlace-AutoBOT.git
synced 2026-10-15 06:15:58 +00:00
adjusting max retries
This commit is contained in:
1 parent
7cf783bc0a
commit
3466546691
1 file changed
+1
-1
+1
-1
@@ -1152,7 +1152,7 @@
|
||||
let _resolveToken = null
|
||||
let tokenPromise = new Promise((resolve) => { _resolveToken = resolve })
|
||||
let retryCount = 0
|
||||
const MAX_RETRIES = 3
|
||||
const MAX_RETRIES = 10
|
||||
const TOKEN_LIFETIME = 240000 // 4 minutes (tokens typically last 5 min, use 4 for safety)
|
||||
|
||||
function setTurnstileToken(t) {
|
||||
|
||||
Reference in new issue
Block a user