Skip to content

Conversation

@egreer
Copy link
Contributor

@egreer egreer commented Nov 26, 2024

There is a possibility that if the active record is forked in the middle of initialization when under periods of high load that we define a wrapped method twice where the wrapped_method may be called with the relation = send(unwrapped_method, *args, **kwargs, &block) multiple times.

This change is mostly a prospective fix as it is nearly impossible to replicate not under load.

@egreer egreer requested a review from wkirby November 26, 2024 19:43
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