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

Explore out of memory messages and updated registration invite job #4696

Open
dboyer opened this issue May 1, 2024 · 2 comments
Open

Explore out of memory messages and updated registration invite job #4696

dboyer opened this issue May 1, 2024 · 2 comments

Comments

@dboyer
Copy link

dboyer commented May 1, 2024

No description provided.

@shaun-technovation
Copy link
Contributor

From the "Too much memory used at runtime" section, it's recommended to use Scout to help troubleshoot memory leak/usage issues. We already have the Scout add-on in Heroku, but we disabled it when we were doing the last Rails update (866fba9 which references the issue #2872). Anywho, I'll add Scout back in to hopefully give us some insights (I'm not sure I want to officially assign myself to this issue, but getting Scout hooked up should be a good start I think).

shaun-technovation added a commit that referenced this issue May 1, 2024
shaun-technovation added a commit that referenced this issue May 2, 2024
This update will make it so that the `UpdateRegistrationInviteJob` will
only get called if an invite code exists. I think this should help with
all the failed jobs that don't have an invite code.

Refs: #4696
@shaun-technovation
Copy link
Contributor

I think I have the failed registration invite jobs fixed (once it gets to Production). I added a condition to only call the job if an invite code exists, which should address this issue. I actually had already made the same fix on Preview when I was working on assigning chapter ambassador to the chapter (associated to the invite code) after they registered.

shaun-technovation added a commit that referenced this issue May 3, 2024
shaun-technovation added a commit that referenced this issue May 3, 2024
This update will make it so that the `UpdateRegistrationInviteJob` will
only get called if an invite code exists. I think this should help with
all the failed jobs that don't have an invite code.

Refs: #4696
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

No branches or pull requests

2 participants