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

Python gc #266

Merged
merged 12 commits into from
Jun 30, 2023
Merged

Python gc #266

merged 12 commits into from
Jun 30, 2023

Conversation

ikaratass
Copy link
Collaborator

  • Garbage collector is disabled during processing message

@@ -545,3 +557,6 @@ async def rcv_loop(self, timeout: float):
await self.stop(stop_reason)
self.session_handler_queue.put_nowait(self.stop_reason)
return
finally:
if gc_was_enabled:
gc.disable()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gc.enable() ?

@ikaratass ikaratass merged commit f1aadef into master Jun 30, 2023
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.

2 participants