forked from retoor/devplacepy
fix: add live age badge and zoom cursor to bot screenshots, bind monitor on startup, and retry feed assertions in e2e tests
This commit is contained in:
@@ -2741,8 +2741,11 @@ class DevPlaceBot:
|
||||
sessions_since_post = 99
|
||||
sessions_since_message = 99
|
||||
|
||||
self._bind_monitor()
|
||||
|
||||
if self._startup_jitter:
|
||||
delay = random.uniform(0, self._startup_jitter)
|
||||
self.b.note(status=f"warming up, first session in {delay / 60:.0f}m")
|
||||
self._log(f"Startup jitter: first session in {delay / 60:.1f}m")
|
||||
try:
|
||||
await asyncio.sleep(delay)
|
||||
|
||||
Reference in New Issue
Block a user