-
-
Notifications
You must be signed in to change notification settings - Fork 775
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
Feature/celery 4976-In Review #5110
Conversation
- dashboard/tasks.py - bounty_email task - locks on the invite_url - django_celery_beat depdency added - celery dependency RedisService added Settings.py - celery specific env variables added docker-compose.yml - worker and scheduler added
Some questions remain around sending emails, I noticed there are some administrator features around sending bounty emails, all aspects of sending bounty emails will need to be tested end 2 end. |
@androolloyd whats left to do on this one so we can get it merged, hopefully by Wednesday? |
@androolloyd any updates on this? Also, I'm wondering why we need the scheduler here since we aren't actually doing scheduling? Is it just so we can space out the emails over time? |
The scheduler could be turned off for now i suppose, it executes what gets defined in the database for periodic tasks. IIRC its not required for the email job to function. |
cool, in that case lets remove it for now so we don't prematurely grow the codebase |
Codecov Report
@@ Coverage Diff @@
## master #5110 +/- ##
==========================================
+ Coverage 29.12% 30.86% +1.74%
==========================================
Files 242 247 +5
Lines 20912 23441 +2529
Branches 3023 3704 +681
==========================================
+ Hits 6091 7236 +1145
- Misses 14576 15880 +1304
- Partials 245 325 +80
Continue to review full report at Codecov.
|
logging an error of the caught exception - removed print statement
This is ready for deployment |
The workers are running on the celery server, once the app has been updated it should start queueing jobs to redis. The worker box should get switched back to master and get updated to the latest version as apart of the deploy. |
@androolloyd I noticed the file app/assets/v2/js/lib/secrets.min.js was changed to unminified file, probably another version. is that ok? Also shouldn't be good to put a minified version? |
Description
Celery Task Scheulder and Worker Setup
requirements/base.txt
RedisService added
Settings.py
docker-compose.yml
Refers/Fixes
#4976
Testing
Testing Still needed