Proofline

Each backoff starts a fresh task for an overridden `wait()` and cancels it on timeout without ensuring it exits.

thekarannagpal/sdk-python#1Reviewed commit 63c2476

Warning · Resource lifecycle

Impact

If the override catches `CancelledError` and waits again, successive backoffs leave more tasks pending until the event is signalled.

Recommended action

Reuse one pending waiter across backoffs instead of starting another, without blocking on cleanup at the deadline.

Cited code

Checked
Pull request code. The environment was not checked.
Status
Completed
Started
Completed