Skip to content
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

[export] Maintain a strong reference to rpc_tasks. #36519

Closed
wants to merge 0 commits into from

Conversation

copybara-service[bot]
Copy link

[export] Maintain a strong reference to rpc_tasks.

Only a weakref is kept in the loop. See python docs on creating tasks.
https://docs.python.org/3/library/asyncio-task.html#creating-tasks

This fixes an issue with request hangs when tasks were being garbage collected.


DO NOT SUBMIT. This PR is for testing purposes only. cl/629749650

@copybara-service copybara-service bot added exported release notes: no Indicates if PR should not be in release notes labels May 3, 2024
Copy link

linux-foundation-easycla bot commented May 3, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: OskarBun / name: Oskar Bunyan (54dd533)

@copybara-service copybara-service bot force-pushed the test_629749650 branch 3 times, most recently from 7b23f18 to 6b456c8 Compare May 11, 2024 18:16
@copybara-service copybara-service bot force-pushed the test_629749650 branch 4 times, most recently from 6cc6547 to 54dd533 Compare May 15, 2024 17:13
@copybara-service copybara-service bot closed this May 15, 2024
@copybara-service copybara-service bot deleted the test_629749650 branch May 15, 2024 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exported lang/Python release notes: no Indicates if PR should not be in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants