Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
da440dil committed Dec 17, 2020
1 parent 05bd555 commit 060f06e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion counter.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func (r Result) Counter() int {
return int(r.counter)
}

// TTL of the current window in milliseconds.
// TTL of the current window.
// Makes sense if operation failed, otherwise ttl is less than 0.
func (r Result) TTL() time.Duration {
return time.Duration(r.ttl) * time.Millisecond
Expand Down

0 comments on commit 060f06e

Please sign in to comment.