lib/vault-tools/config.rb in vault-tools-0.3.6 vs lib/vault-tools/config.rb in vault-tools-0.3.7
- old
+ new
@@ -46,9 +46,13 @@
def int(key)
env(key) ? env(key).to_i : nil
end
+ def bool?(key)
+ ENV[key] == 'true'
+ end
+
def sidekiq_concurrency
int('SIDEKIQ_CONCURRENCY') || 25
end
end
end