Skip to content

[Messenger] Is there a way to auto-stop a worker after a certain idle duration? #54185

Answered by lyrixx
maidmaid asked this question in Q&A
Discussion options

You must be logged in to vote

You save the date of the last message (by listeneing on message handled or message failure), and worker idle you take a decision

Take this listener as example

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@lyrixx
Comment options

@maidmaid
Comment options

@lyrixx
Comment options

Answer selected by maidmaid
@maidmaid
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants