Skip to content

Commit

Permalink
patron: fix missing configuration for patron subscriptions
Browse files Browse the repository at this point in the history
In a deployed environment, celery scheduler is unable to locate the method
task_clear_and_renew_subscriptions which is used to clear patron subscriptions.

This is due to the fact that task_clear_and_renew_subscriptions is configured
in config.py and its path not present in setup.py

* close #1158

Co-Authored-by: Aly Badr <[email protected]>
  • Loading branch information
Aly Badr committed Aug 17, 2020
1 parent 8f034b5 commit 760167e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ def run(self):
'ebooks = rero_ils.modules.ebooks.tasks',
'apiharvester = rero_ils.modules.apiharvester.tasks',
'notifications = rero_ils.modules.notifications.tasks',
'patrons = rero_ils.modules.patrons.tasks',
],
'invenio_records.jsonresolver': [
'organisations = rero_ils.modules.organisations.jsonresolver',
Expand Down

0 comments on commit 760167e

Please sign in to comment.