Muhammad Soban Javed
bd601cf3a6
Update celery routing for celery 4+ ( #25567 )
...
* Update celery routing
- Used routing function instead of class
- Move task queues dictionary to Django settings
- Removed routing_key parameter
- Refactored routing for singleton celery instantiation
Co-authored-by: Awais Qureshi <awais.qureshi@arbisoft.com >
2020-12-16 13:40:47 +05:00
Awais Qureshi
7201edb11d
Revert "Update routing config" ( #25536 )" ( #25549 )" ( #25553 )" ( #25561 )
...
This reverts commit db4c3b1210 .
2020-11-11 00:13:47 +05:00
Awais Qureshi
db4c3b1210
Revert "Revert ""Update routing config" ( #25536 )" ( #25549 )" ( #25553 )
...
This reverts commit c1fe3c3a93 .
2020-11-10 23:23:09 +05:00
Muhammad Soban Javed
c1fe3c3a93
Revert ""Update routing config" ( #25536 )" ( #25549 )
...
This reverts commit 39a22734c1 .
2020-11-09 23:43:47 +05:00
Awais Qureshi
39a22734c1
"Update routing config" ( #25536 )
...
* Revert "Revert "Update routing config"
* Removed settings from lms/celery.py and cms/celery.py
* Moved settings import from top-level to function's scopes
Co-authored-by: Soban Javed <iamsobanjaved@gmail.com >
2020-11-09 19:06:55 +05:00
Muhammad Soban Javed
5a2ea1f954
Revert "Update routing config"
2020-11-06 02:05:48 +05:00
Soban Javed
3206d9cb9a
Update celery routing
...
- Used routing function istead of class
- Move task queues to Djano settings
- Removed routing_key parameter
2020-11-02 15:03:53 +05:00
Feanil Patel
9cf2f9f298
Run 2to3 -f future . -w
...
This will remove imports from __future__ that are no longer needed.
https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
2019-12-30 10:35:30 -05:00
Andrés González
26b3a40133
INCR-108 ( #20058 )
...
* INCR-108: Run python-modernize on openedx/core/lib
* Fixed urlencode import
* Fixed diff quality warnings and six.string_types error
* Fixed pickle import
* Fixed iteritems import
* Fixed ungrouped imports
* Fixed six.moves import issues
2019-04-02 10:26:00 -04:00
Jeremy Bowman
713d64e1e2
TE-2702 Update Read the Docs links to HTTPS
2018-08-15 17:34:01 -04:00
Alex Dusenbery
6dfa47b2fc
EDUCATOR-565 | Add POLICY_CHANGE_GRADES_ROUTING_KEY, fix errors in compute_all_grades_for_course circuitry.
2017-07-11 14:01:38 -04:00
Andy Armstrong
93235d118d
Reorder imports using isort (except lms and cms)
2017-05-30 16:04:54 -04:00
Nimisha Asthagiri
408ed01b1d
Block Structure: Don't invalidate immediately upon course publish
...
Introduces the use of Waffle to put the change behind a Switch.
TNL-6323
2017-01-23 11:27:30 -05:00
Eric Fischer
f69b2c41cb
Additional Logging for task queue operation
2016-11-29 09:43:56 -05:00
Eric Fischer
fdc6d91588
update_in_cache on lms worker ( #12689 )
...
This commit "undoes"a previous hotfix, and allows a cms course_publish
signal to trigger a block_structure update_course_in_cache task, which
is run on an lms worker queue.
Changes:
-exposes ALTERNATE_QUEUE_ENVS
-adds routing layer in celery.py
-moves prior dev_with_worker settings file to devstack_with_worker
-moves course_block api functionality into openedx/core/djangoapps/content/block_structure
2016-06-16 18:01:06 -04:00