Skip to content

Commit

Permalink
Update README.md - mention ttl and timeout unit (seconds)
Browse files Browse the repository at this point in the history
  • Loading branch information
fwolfst authored Oct 23, 2024
1 parent 1c7dc1e commit 242479a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ Turning on debug_lua will allow the lua scripts to output debug information abou
SidekiqUniqueJobs.config.lock_timeout #=> 0
```

Set a global lock_timeout to use for all jobs that don't otherwise specify a lock_timeout.
Set a global lock_timeout (in seconds) to use for all jobs that don't otherwise specify a lock_timeout.

Lock timeout decides how long to wait for acquiring the lock. A value of nil means to wait indefinitely for a lock resource to become available.

Expand All @@ -785,7 +785,7 @@ Lock timeout decides how long to wait for acquiring the lock. A value of nil mea
SidekiqUniqueJobs.config.lock_ttl #=> nil
```

Set a global lock_ttl to use for all jobs that don't otherwise specify a lock_ttl.
Set a global lock_ttl (in seconds) to use for all jobs that don't otherwise specify a lock_ttl.

Lock TTL decides how long to wait at most before considering a lock to be expired and making it possible to reuse that lock.

Expand Down

0 comments on commit 242479a

Please sign in to comment.