Changes between Initial Version and Version 1 of Ticket #33616


Ignore:
Timestamp:
Apr 3, 2022, 8:59:05 PM (2 years ago)
Author:
Josh Smeaton
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33616 – Description

    initial v1  
    55Targeting which handlers can be robust or not would be really useful, for example:
    66
    7 ```
     7{{{
    88def update_search(user):
    99    # if updating search fails, it's fine, we'll bulk update later anyway
     
    1313    # if this task fails, we want to crash
    1414    transaction.on_commit(lambda: mytask.delay(user_id=user.id))
    15 ```
     15}}}
    1616
    1717Here if search fails to update it doesn't prevent the background task from being scheduled.
Back to Top