message_bus icon indicating copy to clipboard operation
message_bus copied to clipboard

Puma is deprecating on_worker_boot

Open arrowcircle opened this issue 4 months ago • 2 comments

Hi! It looks like puma is deprecating on_worker_boot. And message bus requires:

on_worker_boot do
  MessageBus.after_fork
end

Any ideas how to fix this issue?

arrowcircle avatar Oct 27 '25 13:10 arrowcircle

Could you provide a reference? What does the Puma project recommend as a replacement?

benlangfeld avatar Oct 27 '25 14:10 benlangfeld

According to https://github.com/puma/puma/commit/4b9891f0c10fa4f2105b897ff05c20490ee49f7c this is a rename to before_worker_boot. Maybe you could submit a PR to correct the docs here?

benlangfeld avatar Oct 27 '25 14:10 benlangfeld