Sha256: 7c4ead4caa7d790ec1ff0a5393aadd6a8bb9def08c999f97a754ee5b3b2156fb
Contents?: true
Size: 618 Bytes
Versions: 22
Compression:
Stored size: 618 Bytes
Contents
require 'kuroko2/servers/base' module Kuroko2 module Servers class JobScheduler < Base private def worker Kuroko2::Workflow::Scheduler end def default_options { worker_type: 'embedded', daemonize: Rails.env.production?, log: Rails.env.production? ? Rails.root.join('log/job-scheduler.log').to_s : $stdout, log_level: Rails.env.production? ? :info : :debug, pid_path: Rails.root.join('tmp/pids/job-scheduler.pid').to_s, supervisor: Rails.env.production?, } end end end end
Version data entries
22 entries across 22 versions & 1 rubygems