• Bob Van Landuyt's avatar
    Drop duplicate jobs from Sidekiq when enqueuing · a6a7ee75
    Bob Van Landuyt authored
    This extends the `UntilExecuting` deduplication strategy to cancel
    scheduling jobs when they are already in the queue.
    
    We only deduplicate when the `drop_duplicate_sidekiq_jobs` feature
    flag is enabled for now.
    
    When we drop a job, we log that to the Gitlab::SidekiqLogger.
    a6a7ee75
duplicate_jobs.rb 230 Bytes