Sha256: b563caca9f86a1d5e5dc22b6c6aaa701d6e21a0aec258c055add05a352a3e104
Contents?: true
Size: 368 Bytes
Versions: 32
Compression:
Stored size: 368 Bytes
Contents
require 'iodine' # Iodine setup - use conditional setup to allow command-line arguments to override these: if(defined?(Iodine)) Iodine.threads = ENV.fetch("RAILS_MAX_THREADS", 1).to_i if Iodine.threads.zero? Iodine.workers = ENV.fetch("WEB_CONCURRENCY", 1).to_i if Iodine.workers.zero? Iodine::DEFAULT_SETTINGS[:port] = ENV.fetch("PORT") if ENV.key?("PORT") end
Version data entries
32 entries across 32 versions & 1 rubygems