Skip to content

Commit

Permalink
fixed the comment of Opts.DeadlockTimeout in deadlock.go (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
h3n4l authored Nov 8, 2021
1 parent f58e139 commit 5afde13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deadlock.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var Opts = struct {
// Would disable lock order based deadlock detection if DisableLockOrderDetection == true.
DisableLockOrderDetection bool
// Waiting for a lock for longer than DeadlockTimeout is considered a deadlock.
// Ignored is DeadlockTimeout <= 0.
// Ignored if DeadlockTimeout <= 0.
DeadlockTimeout time.Duration
// OnPotentialDeadlock is called each time a potential deadlock is detected -- either based on
// lock order or on lock wait time.
Expand Down

0 comments on commit 5afde13

Please sign in to comment.