Skip to content

NoMethodError: undefined method 'last' for nil:NilClass #206

Open
@m-arav

Description

@m-arav

Hi,

I recently upgraded from v1.0.0.alpha to v1.5.2 and started seeing a NoMethod Error popup a couple of times every hour.

NoMethodError: undefined method 'last' for nil:NilClass, It is being thrown from here.

Using Sidekiq 7.2 and this is the config for throttled:

Sidekiq::Throttled.configure do |config|
  config.cooldown_period    = 1.0
  config.cooldown_threshold = 100_000
  config.default_requeue_options = { with: :schedule }
end

Any ideas on what could be causing this error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions