wanlitao / HangfireExtension

Hangfire Extension plugins
Apache License 2.0
22 stars 32 forks source link

If a Job fails 3 times in a row, it will never run to completion #11

Closed zhakupov closed 7 years ago

zhakupov commented 7 years ago

If a Job fails, we try to set a RetryCount JobParameter. At some point this overwrites all the other JobParameters (e.g. CurrentCulture and CurrentUICulture) because of the bug in SQLiteStorageConnection.SetJobParameter. Therefore, we get IvalidOperationException in SQLiteStorageConnection.GetJobParameter for RetryCount.

failed_jobs