Skip to content

Commit a33a3f2

Browse files
authored
Merge pull request litl#188 from MrwanBaghdad/patch-1
Update decorator's argument "max_time" description
2 parents a1e19d9 + 48fa04e commit a33a3f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backoff/_decorator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def on_predicate(wait_gen: _WaitGenerator,
5151
will be returned. The default value of None means there
5252
is no limit to the number of tries. If a callable is passed,
5353
it will be evaluated at runtime and its return value used.
54-
max_time: The maximum total amount of time to try for before
54+
max_time: The maximum total amount of time in seconds to try for before
5555
giving up. If this time expires, the result of the last
5656
attempt will be returned. If a callable is passed, it will
5757
be evaluated at runtime and its return value used.

0 commit comments

Comments
 (0)