[Python]: Fix: Adding Observability + Failure Handling (#1701)

* feat: simple thread pool monitoring job

* feat: sdk-side workflow pause

* Revert "feat: sdk-side workflow pause"

This reverts commit 83b4a63c20.

* feat: set stop signal to stop accepting new work

* proposal: no-op healthcheck workflow

* Revert "proposal: no-op healthcheck workflow"

This reverts commit f651a52137.

* fix: rm removed concurrency strats

* chore: ver

* fix: rm heartbeat wf

* fix: rm zombie keys

* fix: hint on invalid token

* fix: flaky test

* fix: rm buggy / dead code
This commit is contained in:
Matt Kaye
2025-05-13 14:11:36 -04:00
committed by GitHub
parent 37482a354b
commit 1db5cb5ee6
7 changed files with 62 additions and 68 deletions

View File

@@ -278,7 +278,7 @@ async def crons(
def time_until_next_minute() -> float:
now = datetime.now()
next_minute = now.replace(second=0, microsecond=0, minute=now.minute + 1)
next_minute = (now + timedelta(minutes=1)).replace(second=0, microsecond=0)
return (next_minute - now).total_seconds()