lib/jets/application.rb in jets-0.5.7 vs lib/jets/application.rb in jets-0.5.8
- old
+ new
@@ -16,14 +16,20 @@
load_routes
end
def config
config = ActiveSupport::OrderedOptions.new
+
config.prewarm = ActiveSupport::OrderedOptions.new
+ config.prewarm.enable = true
+ config.prewarm.concurrency = 2
+ config.prewarm.rate = '30 minutes'
+
config.lambdagems = ActiveSupport::OrderedOptions.new
config.lambdagems.sources = [
'https://gems.lambdagems.com'
]
+
config
end
memoize :config
def setup_auto_load_paths