DisableConcurrentExecutionAttribute error message typo
Author: AleksanderNekrCreated Sep 14, 2026Updated Sep 14, 2026
In ctor of DisableConcurrentExecutionAttribute this validation if (timeoutInSeconds < 0) throw new ArgumentException("Timeout argument value should be greater that zero."); contains typos in the error message: not greater, that > than.
Expected something like this: if (timeoutInSeconds < 0) throw new ArgumentException("Timeout argument value should be not less than zero.");
Source: HangfireIO/Hangfire