You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I couldn't find the relevant information, and while looking into the source code I could not find a way to add options to an AppWorker. This seems like it's needed to be able to specify which queue to put a job/worker in?
Looks like there is more than one way to do this: add sidekiq::WorkerOpts to loco::prelude for use in app, or add fn opts to the AppWorker trait to allow specifying an AppWorker with options.
My investigation was cursory so the above might not be true. It may also be the fact that specifying the queue is possible, but there are not docs about how to do that even though the ability to supply a custom queue is mentioned.
The text was updated successfully, but these errors were encountered:
Description
I couldn't find the relevant information, and while looking into the source code I could not find a way to add options to an
AppWorker
. This seems like it's needed to be able to specify which queue to put a job/worker in?Looks like there is more than one way to do this: add
sidekiq::WorkerOpts
toloco::prelude
for use in app, or addfn opts
to theAppWorker
trait to allow specifying anAppWorker
with options.My investigation was cursory so the above might not be true. It may also be the fact that specifying the queue is possible, but there are not docs about how to do that even though the ability to supply a custom queue is mentioned.
The text was updated successfully, but these errors were encountered: