Merge pull request #27023 from edx/mikix/forum-transactional

feat: mark forum response notifications transactional
This commit is contained in:
Michael Terry
2021-03-16 09:23:55 -04:00
committed by GitHub

View File

@@ -57,7 +57,9 @@ def update_discussions_map(context):
class ResponseNotification(BaseMessageType):
pass
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.options['transactional'] = True
@shared_task(base=LoggedTask)