Skip to content

Commit 9cc6b3e

Browse files
committed
chore: fix test cases
1 parent 8537d53 commit 9cc6b3e

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

elixir/lib/bullmq/worker.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ defmodule BullMQ.Worker do
138138
doc: "Interval in ms to check for stalled jobs."
139139
],
140140
max_stalled_count: [
141-
type: :pos_integer,
141+
type: :non_neg_integer,
142142
default: @default_max_stalled_count,
143143
doc: "Max times a job can stall before being moved to failed."
144144
],

elixir/test/bullmq/worker_integration_test.exs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2750,7 +2750,6 @@ defmodule BullMQ.WorkerIntegrationTest do
27502750
connection: conn,
27512751
prefix: @test_prefix,
27522752
lock_duration: 1_000,
2753-
lock_renew_time: 3_000,
27542753
stalled_interval: 100,
27552754
processor: fn job ->
27562755
if Agent.get(first, & &1) do

0 commit comments

Comments
 (0)