Changes between Initial Version and Version 1 of Ticket #33616
- Timestamp:
- Apr 3, 2022, 8:59:05 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33616 – Description
initial v1 5 5 Targeting which handlers can be robust or not would be really useful, for example: 6 6 7 ``` 7 {{{ 8 8 def update_search(user): 9 9 # if updating search fails, it's fine, we'll bulk update later anyway … … 13 13 # if this task fails, we want to crash 14 14 transaction.on_commit(lambda: mytask.delay(user_id=user.id)) 15 ``` 15 }}} 16 16 17 17 Here if search fails to update it doesn't prevent the background task from being scheduled.