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

Overhaul Adjustments + Bugfix #525

Merged
merged 2 commits into from
Aug 9, 2023

Conversation

cassidysymons
Copy link
Collaborator

This PR addresses three issues:

  1. It changes our psycopg2 pool from SimpleConnectionPool to ThreadedConnectionPool, which is necessary as we'll be running Celery in threaded mode, rather than prefork.
  2. It adds a t.commit() that was missing from the check_shipping_updates() task in util/perk_fulfillment.py.
  3. It switches all perk fulfillment communication from the payer_email that Fundrazr returns to the contact_email, which is stored as interested_users.email.

@@ -9,7 +9,7 @@ class Transaction:
# Note: SimpleConnectionPool works only for single threaded applications
# Should we make the server multi threaded, we must switch to a
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:/

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, I'll update that comment before I merge. Thanks for the quick review.

@cassidysymons cassidysymons merged commit a5afafc into master-overhaul Aug 9, 2023
2 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