Skip to content

Commit

Permalink
Merge pull request #291 from mmenanno/default-jitter-fix
Browse files Browse the repository at this point in the history
fully qualify JITTER_DEFAULT constant
  • Loading branch information
KaanOzkan authored Oct 25, 2024
2 parents f99caa1 + b9f3a57 commit 12386e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rbi/annotations/activejob.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class ActiveJob::Base
block: T.nilable(T.proc.params(job: T.attached_class, error: T.untyped).void)
).void
end
def self.retry_on(*exceptions, wait: 3.seconds, attempts: 5, queue: nil, priority: nil, jitter: JITTER_DEFAULT, &block); end
def self.retry_on(*exceptions, wait: 3.seconds, attempts: 5, queue: nil, priority: nil, jitter: ActiveJob::Exceptions::JITTER_DEFAULT, &block); end

sig { params(part_name: T.nilable(T.any(String, Symbol)), block: T.nilable(T.proc.bind(T.attached_class).returns(T.untyped))).void }
def self.queue_as(part_name = nil, &block); end
Expand Down

0 comments on commit 12386e5

Please sign in to comment.