Skip to content

Commit

Permalink
Update client.py
Browse files Browse the repository at this point in the history
Co-authored-by: nulldomain <[email protected]>
  • Loading branch information
syncblaze and null-domain authored Nov 6, 2024
1 parent 3523db1 commit a593234
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lightbulb/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,8 @@ def task( # noqa: D417
the client upon the client being started, the task will also be started; it will also be started
if being added to an already-started client.
max_failures: The maximum number of failed attempts to execute the task before it is cancelled.
Setting this to a negative number will disable this behaviour, and the task won't be cancelled,
no matter how often the task fails.
Setting this to a negative number will prevent the task from being cancelled, regardless of
how often the task fails.
max_invocations: The maximum number of times the task can be invoked before being stopped.
Setting this to a negative number will disable this behaviour, allowing unlimited invocations.
Expand Down

0 comments on commit a593234

Please sign in to comment.