Comments (3)
Are you looking to scan an actual queue, e.g. a Redis list, or the Scheduled/Retry/Dead sets, e.g. a Redis sorted set? There is completely different answer for each.
from sidekiq.
There is no helper method for Lists (queues) because there's no efficient Redis operation. I don't make it easy because list scans are so slow. That find_job
method literally pulls all list data into Ruby, parses it and checks each JID -- very slow.
Sorted sets can be scanned efficiently, see Scanning and Filtering on this blog post:
https://www.mikeperham.com/2021/04/20/a-tour-of-the-sidekiq-api/
That's why there's a Filter textbox in the Web UI on e.g. the Retry page but none on the Queue page.
from sidekiq.
@mperham Thank you for following up. I believe you pointed me in the right direction. Thanks!
from sidekiq.
Related Issues (20)
- Sidekiq Pro CVE Patch HOT 1
- Regarding CVE-2022-23837 study notes HOT 1
- Why is Sidekiq ignoring the url option within a Redis sentinel configuration? HOT 4
- Pending batches expiring in 5 months, not 30 days HOT 6
- Feature request: add flag to opt in/out of Process.warmup HOT 7
- `Object#respond_to_missing?` redefined with too few arguments HOT 2
- Sidekiq Web: Unhandled can't convert String into an exact number (TypeError) HOT 11
- Errors after configuring pro web ui with redis pool HOT 5
- [Feature Proposal] Compressing scheduled jobs to save memory HOT 5
- Difference between capsule and concurrency=1 HOT 3
- Suggestion: Raise error when calling `batch.jobs` more than once when defining the batch? HOT 2
- Capsules don't observe the `-q` parameter of their process HOT 2
- Update Sidekiq API with capsule data HOT 1
- set(unique_for: ...) not working with ActiveJob HOT 3
- Batches wrapping unique_for jobs completing before jobs have run HOT 5
- "Error fetching job" after upgrade to Sidekiq 7 HOT 8
- Worker not running in schedule.rb HOT 7
- Sidekiq::Limiter.unlimited does not comply with signature of other limiters
- Jobs Stuck in Enqueue state (Enqueued Actionmailer) HOT 19
- Current attributes lost after inline execution HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sidekiq.