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
Wait a second or two to make sure at least one attempt has been made.
Press Ctrl+C (or send a SIGTERM through some other mechanism, eg kill utility on linux)
Expected behavior
api.__exit__ should raise a KeyboardInterrupt exception immediately.
Actual behavior
Program is stuck running for several minutes inside api.__exit__. Until program is force killed using SIGKILL or all retries have been exhausted.
Additional info
I've also experimented with write_options=WriteOptions(max_close_wait=1000) but it does not help and it has the risk to affect the normal flow when user is not pressing Ctrl+C
The text was updated successfully, but these errors were encountered:
Specifications
Code sample to reproduce problem
SIGTERM
through some other mechanism, egkill
utility on linux)Expected behavior
api.__exit__
should raise aKeyboardInterrupt
exception immediately.Actual behavior
Program is stuck running for several minutes inside
api.__exit__
. Until program is force killed usingSIGKILL
or all retries have been exhausted.Additional info
I've also experimented with
write_options=WriteOptions(max_close_wait=1000)
but it does not help and it has the risk to affect the normal flow when user is not pressing Ctrl+CThe text was updated successfully, but these errors were encountered: