Sha256: aef340d5f0d47ad6b9ab8fbb1e1e2dc7ca69f65d8685ef0be25e84dcf05ef45a
Contents?: true
Size: 420 Bytes
Versions: 27
Compression:
Stored size: 420 Bytes
Contents
worker_processes Integer(ENV['WEB_CONCURRENCY'] || 3) timeout 30 preload_app true before_fork do |server, worker| Signal.trap 'TERM' do puts 'Unicorn master intercepting TERM and sending myself QUIT instead' Process.kill 'QUIT', Process.pid end end after_fork do |server, worker| Signal.trap 'TERM' do puts 'Unicorn worker intercepting TERM and doing nothing. Wait for master to send QUIT' end end
Version data entries
27 entries across 27 versions & 1 rubygems