Skip to content

Commit

Permalink
Clarify drift factor calculation in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmatsui committed Aug 14, 2020
1 parent e90e80a commit bb40b2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ var redlock = new Redlock(
{
// the expected clock drift; for more details
// see http://redis.io/topics/distlock
driftFactor: 0.01, // time in ms
driftFactor: 0.01, // multiplied by lock ttl to determine drift time

// the max number of times Redlock will attempt
// to lock a resource before erroring
Expand Down

0 comments on commit bb40b2c

Please sign in to comment.