lib/sidekiq/throttled/strategy/concurrency.rb in sidekiq-throttled-0.6.6 vs lib/sidekiq/throttled/strategy/concurrency.rb in sidekiq-throttled-0.6.7
- old
+ new
@@ -21,10 +21,10 @@
# @param [#to_i, #call] limit Amount of allowed concurrent jobs
# per processors running for given key.
# @param [#to_i] ttl Concurrency lock TTL in seconds.
# @param [Proc] key_suffix Dynamic key suffix generator.
def initialize(strategy_key, limit:, ttl: 900, key_suffix: nil)
- @base_key = "#{strategy_key}:concurrency".freeze
+ @base_key = "#{strategy_key}:concurrency"
@limit = limit
@ttl = ttl.to_i
@key_suffix = key_suffix
end