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

@notification.app triggers loading of association :app #410

Closed
loadhigh opened this issue Feb 8, 2018 · 0 comments · Fixed by #421
Closed

@notification.app triggers loading of association :app #410

loadhigh opened this issue Feb 8, 2018 · 0 comments · Fixed by #421

Comments

@loadhigh
Copy link
Contributor

loadhigh commented Feb 8, 2018

'Authorization' => "key=#{@notification.app.auth_key}")

We already have @app and do not need the an extra trip to the DB for each notification sent. The db query is outside of the with_database_reconnect_and_retry block, which is a problem.

loadhigh pushed a commit to loadhigh/rpush that referenced this issue Mar 1, 2018
loadhigh added a commit to loadhigh/rpush that referenced this issue Mar 2, 2018
loadhigh added a commit to loadhigh/rpush that referenced this issue Mar 2, 2018
sthkindacrazy pushed a commit to sthkindacrazy/rpush that referenced this issue Mar 14, 2018
ormus2002 pushed a commit to ormus2002/rpush that referenced this issue Apr 28, 2020
ormus2002 pushed a commit to ormus2002/rpush that referenced this issue May 4, 2020
Adrian1707 pushed a commit to Adrian1707/rpush that referenced this issue Apr 24, 2024
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 a pull request may close this issue.

1 participant