Sha256: d7566b57f1640d6121810b31e47770ad5c15352215f5fd8389917c3522159a5c

Contents?: true

Size: 252 Bytes

Versions: 3

Compression:

Stored size: 252 Bytes

Contents

# frozen_string_literal: true

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

PumaWorkerKiller.config do |config|
  config.on_calculation = ->(usage) { puts("Current memory footprint: #{usage} mb") }
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/on_calculation.ru
puma_worker_killer-0.3.0 test/fixtures/on_calculation.ru
puma_worker_killer-0.2.0 test/fixtures/on_calculation.ru