```ruby
require 'sidekiq/worker'
require 'travis/logs/services/aggregate_logs'

module Travis
  module Logs
    module Sidekiq
      class Aggregate
        include ::Sidekiq::Worker

        sidekiq_options queue: 'aggregate', retry: 3,
                        unique: :while_executing

        def perform(log_id)
          Travis::Logs::Services::AggregateLogs.aggregate_log(log_id)
        end
      end
    end
  end
end
```

Change uniqueness guarantee to until_and_while_executing
user
```ruby
require 'sidekiq/worker'
require 'travis/logs/services/aggregate_logs'

module Travis
  module Logs
    module Sidekiq
      class Aggregate
        include ::Sidekiq::Worker

        sidekiq_options queue: 'aggregate', retry: 3,
                        unique: :until_and_while_executing

        def perform(log_id)
          Travis::Logs::Services::AggregateLogs.aggregate_log(log_id)
        end
      end
    end
  end
end
```
assistant