discourse / discourse/message_bus

Puma is deprecating on_worker_boot

Open
#367 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
1.7k
Forks
129
Avg merge
40m
Merged PRs (30d)
1

Description

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?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Puma configuration and the existing MessageBus.after_fork integration described in the issue. Check Puma’s current replacement for on_worker_boot and verify that the chosen hook preserves worker startup behavior; done means the deprecation is addressed without breaking the after-fork call.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.