Sha256: 5e03f56a3e7d2400bce1bded98d377a3a834c989ae61dc1be3adcd1731281cd9

Contents?: true

Size: 254 Bytes

Versions: 3

Compression:

Stored size: 254 Bytes

Contents

# frozen_string_literal: true

load File.expand_path('fixture_helper.rb', __dir__)

PumaWorkerKiller.config do |config|
  config.pre_term = ->(worker) { puts("About to terminate worker: #{worker.inspect}") }
end
PumaWorkerKiller.start

run HelloWorldApp

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
puma_worker_killer-0.3.1 test/fixtures/pre_term.ru
puma_worker_killer-0.3.0 test/fixtures/pre_term.ru
puma_worker_killer-0.2.0 test/fixtures/pre_term.ru