From a71737bcabf8d8d6822ba5ead814a3af1ca74cb0 Mon Sep 17 00:00:00 2001 From: ohad-alike <64465779+ohad-alike@users.noreply.github.com> Date: Tue, 18 Apr 2023 17:11:20 +0300 Subject: [PATCH] changing on_exception max_time variable explanation to time in seconds. --- backoff/_decorator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backoff/_decorator.py b/backoff/_decorator.py index 77ed8c2..6b4488a 100644 --- a/backoff/_decorator.py +++ b/backoff/_decorator.py @@ -147,7 +147,7 @@ def on_exception(wait_gen: _WaitGenerator, The default value of None means there is no limit to the number of tries. If a callable is passed, it will be evaluated at runtime and its return value used. - max_time: The maximum total amount of time to try for before + max_time: The maximum total amount of seconds to try for before giving up. Once expired, the exception will be allowed to escape. If a callable is passed, it will be evaluated at runtime and its return value used.