lib/jets/internal/app/jobs/jets/preheat_job.rb in jets-0.5.0 vs lib/jets/internal/app/jobs/jets/preheat_job.rb in jets-0.5.1
- old
+ new
@@ -1,5 +1,4 @@
-# Simple initial implementation of a prewarmer
class Jets::PreheatJob < ApplicationJob
enabled = Jets.config.prewarm.enabled
ENABLED = enabled.nil? ? true : enabled # defaults to enabled
CONCURRENCY = Jets.config.prewarm.concurrency || 1
PREWARM_RATE = Jets.config.prewarm.rate || '30 minutes'