diff options
author | Rosa Gutierrez <rosa.ge@gmail.com> | 2019-01-05 01:54:38 +0100 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2019-01-05 13:54:38 +1300 |
commit | 88349cee3cb8f7bba662232fbc444eeebc8bb227 (patch) | |
tree | eb0cf4553e1226a708373ebd2b042f476af83b05 /railties/.gitignore | |
parent | 8a23a0e8c20c0cccf0073906d7dd7f809bfa836d (diff) | |
download | rails-88349cee3cb8f7bba662232fbc444eeebc8bb227.tar.gz rails-88349cee3cb8f7bba662232fbc444eeebc8bb227.tar.bz2 rails-88349cee3cb8f7bba662232fbc444eeebc8bb227.zip |
Support in-flight jobs stored before individual execution counters for `retry_on` (#34731)
Also, make tests and examples for individual execution counters
clearer, as it wasn't entierly clear what would happen in this case:
```
retry_on CustomException, OtherException, attempts: 3
```
The job would be retried at most 3 times in total, for both
CustomException and OtherException. To have the job retry 3 times at
most for each exception individually, the following retry_on
declarations are necessary:
```
retry_on CustomException, attempts: 3
retry_on OtherException, attempts: 3
```
Diffstat (limited to 'railties/.gitignore')
0 files changed, 0 insertions, 0 deletions