Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make background job creation resilient to transient exceptions
CoreBackgroundJobFactory class now supports idempotent retries for background job creation logic that don't lead to multiple similar jobs even if a timeout exception is thrown when attempt was actually succeeded (i.e. TransactionInDoubt state in ADO.NET and so on). The new behavior can be enabled by setting the BackgroundJobClient.RetryAttempts to a positive value, and it will be enabled by default in version 2.0.
- Loading branch information
Showing
4 changed files
with
353 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.