• Sean McGivern's avatar
    Remove Sidekiq `probe_jobs` probe · ef863d1e
    Sean McGivern authored
    This was generally fast but had two unfortunate effects that made it
    impractical in production:
    1. The script got slower the larger the queue, as it scanned all jobs in
    2. Because it was a Lua script, it blocked Redis execution entirely
       while running.
    The combination of these two can lead to a catastrophic case. When a
    queue is very long, that's precisely the time when we want jobs to be
    processed quickly. But we'd see that jobs were blocked by the metrics
    script, which is the opposite of what we need at that time.