Sha256: 5a64cf3f729828a9997cb5c9407e9a032111ea7fd18d6454156b755a722cb71c
Contents?: true
Size: 321 Bytes
Versions: 3
Compression:
Stored size: 321 Bytes
Contents
# frozen_string_literal: true workers Integer(ENV.fetch('WEB_CONCURRENCY', 2)) threads_count = Integer(ENV.fetch('MAX_THREADS', 2)) threads(threads_count, threads_count) preload_app! rackup DefaultRackup environment ENV.fetch('RACK_ENV', 'development') on_worker_boot do ActiveRecord::Base.establish_connection end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
underlay-2.0 | templates/puma.rb |
underlay-1.52.1 | templates/puma.rb |
underlay-1.50.1 | templates/puma.rb |