Merge pull request #358 from dinakars777/fix/openclaw-poll-clock-init

fix: initialize OpenClaw poll timing once
This commit is contained in:
Trevin Chow
2026-05-16 23:41:42 -07:00
committed by GitHub
2 changed files with 7 additions and 6 deletions
@@ -335,8 +335,9 @@ def poll_device_auth(
"""
import sys
deadline = time.time() + timeout
last_reminder = time.time()
started_at = time.time()
deadline = started_at + timeout
last_reminder = started_at
reminder_count = 0
max_reminders = 4
reminder_interval = 30 # seconds between reminders