Skip to content

[Messenger] Also listen to SIGINT in StopWorkerOnSigtermSignalListener #49156

Closed
@lyrixx

Description

@lyrixx

Description

ATM, StopWorkerOnSigtermSignalListener listen only SIGTERM.

IMHO, it should also listen SIGINT (CTR+C) for the following reasons:

  • in dev, we can have the same behavior than in production
  • in prod, when adding manually more consumers (yeah, SSH + bin/console 🧓🏼), it's boring to stop them cleanly. CTRL+C is easier
  • I always found it weird it doesn't listen SIGINT - Okay, this is not a valid argument :)

cc @Tobion


I'll make the PR if accepted

Metadata

Metadata

Assignees

No one assigned

    Labels

    MessengerRFCRFC = Request For Comments (proposals about features that you want to be discussed)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions