Sha256: 22bf4ba43971f06fcd9bf34716f688f02f2f801877676dfc802f0fff048e6ad7
Contents?: true
Size: 185 Bytes
Versions: 1
Compression:
Stored size: 185 Bytes
Contents
require "zhong" Zhong.redis = Redis.new(url: ENV.fetch("REDIS_URL") { "redis://localhost:6379/0" }) Zhong.schedule do every 1.hour, "cleanup" do CleanJob.perform_later end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
easy_ml-0.2.0.pre.rc31 | config/initializers/zhong.rb |