Skip to content

Commit

Permalink
Documentation fixes (#622)
Browse files Browse the repository at this point in the history
  • Loading branch information
ursm authored Jul 2, 2021
1 parent a46e6b3 commit 4b805cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ A lock is created when `UntilExecuting.perform_async` is called. Then it is eith
class UntilExecuting
include Sidekiq::Workers

sidekiq_options lock: :until_expired
sidekiq_options lock: :until_executing

def perform(id)
# Do work
Expand All @@ -218,7 +218,7 @@ A lock is created when `UntilExecuted.perform_async` is called. Then it is eithe
class UntilExecuted
include Sidekiq::Workers

sidekiq_options lock: :until_expired
sidekiq_options lock: :until_executed

def perform(id)
# Do work
Expand Down Expand Up @@ -276,7 +276,7 @@ Tese locks are put on a queue without any type of locking mechanism, the locking
class WhileExecutingWorker
include Sidekiq::Workers

sidekiq_options lock: :until_and_while_executing,
sidekiq_options lock: :while_executing,
lock_timeout: 2,
on_conflict: {
server: :raise
Expand Down

0 comments on commit 4b805cc

Please sign in to comment.