Sha256: c1b910a5e372117ecd0e1c5b78b234d342516f08f947ea3a00f9035b0fb1a0dc
Contents?: true
Size: 398 Bytes
Versions: 4
Compression:
Stored size: 398 Bytes
Contents
# frozen_string_literal: true 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
4 entries across 4 versions & 1 rubygems