lib/services/modules/uniqueness_checker.rb in services-0.2.9 vs lib/services/modules/uniqueness_checker.rb in services-0.2.10

- old
+ new

@@ -35,10 +35,10 @@ error_count = (Services.configuration.redis.get(error_count_key) || 0).to_i if error_count >= MAX_RETRIES raise_non_unique_error else error_count += 1 - self.class.perform_in retry_delay(error_count), @service_args + self.class.perform_in retry_delay(error_count), *@service_args Services.configuration.redis.setex error_count_key, retry_delay(error_count) + ONE_HOUR, error_count false end end else