You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: skip_jobs.rb
    path of file: ./repos/gitlabhq/lib/gitlab/sidekiq_middleware
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Gitlab
  module SidekiqMiddleware
    class SkipJobs
      DELAY = ENV.fetch("SIDEKIQ_DEFER_JOBS_DELAY", 5.minutes)
      RUN_FEATURE_FLAG_PREFIX = "run_side
    
      def defer_job!(job, worker)
        # Referred in job_logger's 'log_job_done' method to compute proper 'job_status'
        job['deferred'] = true
        job['deferred_by'] = @deferred_by
        job['deferred_count'] ||= 0
        job['deferred_count'] += 1

        worker.class.perform_in(@delay, *job['args'])
        @metrics.fetch(COUNTER).increment({ worker: worker.class.name, action: "deferred" })
      end