-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AMQP] Update Sync Transport to Use Socket Connection API #38966
base: main
Are you sure you want to change the base?
Conversation
/azp run python - eventhub - tests |
/azp run python - servicebus - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
1 similar comment
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run python - servicebus - perf |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run python - eventhub - perf |
Azure Pipelines successfully started running 1 pipeline(s). |
API change check API changes are not detected in this pull request. |
@@ -190,7 +190,11 @@ def connect(self): | |||
# are we already connected? | |||
if self.connected: | |||
return | |||
self._connect(self.host, self.port, self.connect_timeout) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why were we using _connect before?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the helper method create_connection
does the same thing as what _connect
was doing https://github.com/python/cpython/blob/fa6c48e4b3d5b6f80a9aed07d4a5620bf62f195f/Lib/socket.py#L822
/azp run python - servicebus - tests |
/azp run python - eventhub - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
1 similar comment
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run python - servicebus - tests |
/azp run python - eventhub - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
1 similar comment
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we run stress to double check it's good?
update the connect code to use the new socket helper method to create a socket connection