Sha256: aae1a8320094025c41cfb83d6ee4ce16bd1820800c05d1ad2668ff67b1c464f2

Contents?: true

Size: 299 Bytes

Versions: 1

Compression:

Stored size: 299 Bytes

Contents

# frozen_string_literal: true

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

PumaWorkerKiller.config do |config|
  config.rolling_pre_term = ->(worker) { puts("About to terminate (rolling) worker: #{worker.pid}") }
end
PumaWorkerKiller.enable_rolling_restart(1) # 1 second

run HelloWorldApp

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
puma_worker_killer-0.2.0 test/fixtures/rolling_pre_term.ru