Sha256: c36e2122311b3aa5cf87e4a0144988708d41455b9197f7fcc1e584167d423f54
Contents?: true
Size: 723 Bytes
Versions: 22
Compression:
Stored size: 723 Bytes
Contents
module Kuroko2 module Servers class CommandExecutor < Base private def worker Kuroko2::Command::Executor end def default_options { worker_type: 'process', workers: Kuroko2::Command::Executor.num_workers, daemonize: Rails.env.production?, log: Rails.env.production? ? Rails.root.join("log/command-executor.log").to_s : $stdout, log_level: Rails.env.production? ? :info : :debug, pid_path: Rails.root.join('tmp/pids/command-executor.pid').to_s, supervisor: Rails.env.production?, worker_graceful_kill_timeout: -1, } end end end end
Version data entries
22 entries across 22 versions & 1 rubygems