temp: remove celery ignore_result=True

We are lacking information in Flower about our Celery tasks that are
marked as successful but are actually failing.

Attempt to remove ignore_result=True to see if this is suppressing
valuable debugging information.
This commit is contained in:
Phillip Shiu
2023-06-25 22:11:08 -04:00
parent 1a3ddd969f
commit 2af47c7128

View File

@@ -65,7 +65,7 @@ def expire_old_entitlements(self, start, end, logid='...'):
LOGGER.info('Successfully completed the task expire_old_entitlements after examining %d entries [%s]', entitlements.count(), logid) # lint-amnesty, pylint: disable=line-too-long
@shared_task(bind=True, ignore_result=True)
@shared_task(bind=True)
@set_code_owner_attribute
def expire_and_create_entitlements(self, entitlement_ids, support_username):
"""