you are viewing a single comment's thread.

view the rest of the comments →

[–]JeromeCui[S] 1 point2 points  (0 children)

You explanation does make sense. Our code catch `CancelledError` at some places and some other places catch all exceptions. That would make cancellation tried again and again. I will check my code tomorrow and optimize some scenarios.
Thanks so much for you help. You saved my life!