Skip to content

Conversation

@jraymakers
Copy link
Contributor

Since the list of prepare statements weakrefs can get long when a process is create prepared statements at a high rate, only attempt to prune the list at most once a second. This should reduce the number of times we attempt to prune and fail to find any collected weakrefs.

@jraymakers jraymakers merged commit 95ef4ae into main Jul 27, 2025
5 checks passed
@jraymakers jraymakers deleted the jray/throttle-prepared-pruning branch July 30, 2025 04:33
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