feat: extend pause between registration attempts
This commit is contained in:
@@ -1514,7 +1514,7 @@ class TaskState:
|
|||||||
if self.stop_event.is_set():
|
if self.stop_event.is_set():
|
||||||
break
|
break
|
||||||
|
|
||||||
wait = random.randint(5, 30)
|
wait = random.randint(20, 60)
|
||||||
attempt_emitter.info(f"{prefix}休息 {wait} 秒后继续...", step="wait")
|
attempt_emitter.info(f"{prefix}休息 {wait} 秒后继续...", step="wait")
|
||||||
self.stop_event.wait(wait)
|
self.stop_event.wait(wait)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user