Skip to content

Conversation

leegunwoo98
Copy link
Contributor

When using create session with multiple sessions, an asynchronous task is created in order to create these sessions. However, the default behavior is to immediately exit out if there is any error in creating the session. This behavior leaves behind dangling tasks not tracked by the caller, creating cases where more sessions are created than wanted when put into a while loop. This is more evident when using proxies and there are alot of cases where multiple __create_session can fail. As a result, I added a return_exceptions=True so that it would wait until all tasks are considered done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant