lib/pennyworth/container.rb in pennyworth-17.3.0 vs lib/pennyworth/container.rb in pennyworth-17.4.0
- old
+ new
@@ -20,10 +20,10 @@
register(:settings) { Etcher.call(self[:registry]).dup }
register(:specification) { Spek::Loader.call "#{__dir__}/../../pennyworth.gemspec" }
register(:defaults_path) { Pathname(__dir__).join("configuration/defaults.yml") }
register(:xdg_config) { Runcom::Config.new "pennyworth/configuration.yml" }
- register :http, HTTP
+ register(:http) { HTTP.timeout 3 }
register(:logger) { Cogger.new id: :pennyworth }
register :io, STDOUT
end
end