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

Fix memoization for #recurring_tasks_config #361

Merged
merged 1 commit into from
Sep 25, 2024
Merged

Conversation

sergiopantoja
Copy link
Contributor

First, thanks for all of your work on this gem! I love watching the progress.

I was reviewing the recurrence implementation and noticed the memoized instance variable name was shared for both #recurring_tasks and #recurring_tasks_config. This appears to have been introduced in 0aa1644.

This isn't causing any bugs for me currently, but I figured this PR would help prevent any potential issues in the future.

@rosa
Copy link
Member

rosa commented Sep 25, 2024

Ohh, totally! Great spot, this was a mistake from copying and pasting 😅

@rosa rosa merged commit f3f0f02 into rails:main Sep 25, 2024
4 checks passed
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