Skip to content

Mojo::IOLoop->recurring not emitting in a minion worker process after updating Mojo (8.26 to 9.22) and Minion (9.13 to 10.22) #1868

Answered by mmoscher
mmoscher asked this question in Q&A
Discussion options

You must be logged in to vote

Since mojolicious/minion@5cb6241 Mojo::IOLoop is reset in Minion::Worker->run to prevent shared timers between Mojolicious and Minion, which breaks my previous implementations (seems it only worked due to a "bug" 😄 :/)

As mentioned by @fskale, app/worker and poller should be separated.

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mmoscher
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by mmoscher
Comment options

You must be logged in to vote
0 replies
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