You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently PersistentTaskGroup immediately cancels all non-finished tasks upon shutdown.
Let's add an option for configurable timeout here, so that the individual tasks may have chances to finish up before being cancelled.
The text was updated successfully, but these errors were encountered:
We could use two-phase cancellation: requesting cancellation after 1st timeout, cancel cancellation after 2nd timeout if it takes too long, with help of Task.uncancel() and cancellation scopes to be introduced in Python 3.11.
Currently PersistentTaskGroup immediately cancels all non-finished tasks upon shutdown.
Let's add an option for configurable timeout here, so that the individual tasks may have chances to finish up before being cancelled.
The text was updated successfully, but these errors were encountered: