def max_threads=(number)
      @max_threads = number.to_i.positive? && throttle.zero? ? number.to_i : 1

      hydra.max_concurrency = @max_threads
    end
def max_threads=(number)
      @max_threads = number.to_i.positive? && throttle.zero? ? number.to_i : 1

      hydra.max_concurrency = @max_threads
    end
Set the threads attribute and update hydra accordinly
 If the throttle attribute is > 0, max_threads will be forced to 1

 @param [ Integer ] number