-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workers filters #115
base: main
Are you sure you want to change the base?
Workers filters #115
Conversation
hey @rosa, hope you are doing great, when you have some time, I would like to hear your thoughts about the I was thinking about making some kind of dynamic form so the user can input many key/value pair of attributes |
update: i was checking the solid_queue codebase and seems like workers metadata field can only have polling_interval, queues and thread_pool_size, if that is the case we could add the three of them as different inputs for now |
@Xeitor, I'm so sorry for the huge delay on this one 😳 I've been so busy with other stuff that I had to leave this gem quite unattended for a while, but I'm going to catch up this week.
I think I'd like to keep this as generic as possible, so that we can also build support for resque and other backends easily. I think the only field that makes sense to filter by there is |
@rosa no worries!! I guessed you were busy so no problem really :) |
@rosa I've just realized the queues filter is a little trickier than I thought because the metadata is a text attr, we'll not be able to query it from the db, instead we'll have to perform the filter in memory, but I'll need to modify the enumerable logic similar to |
Pending
hostname
name
configuration/queues
Closes: #29