Skip to content

Commit

Permalink
fix api retries
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jan 24, 2025
1 parent fe580ef commit c2cb3e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bbot/modules/templates/webhook.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class WebhookOutputModule(BaseOutputModule):
# abort module after 10 failed requests (not including retries)
_api_failure_abort_threshold = 10
# retry each request up to 10 times, respecting the Retry-After header
_api_failure_retry_limit = 10
_api_retries = 10

async def setup(self):
self.webhook_url = self.config.get("webhook_url", "")
Expand Down

0 comments on commit c2cb3e1

Please sign in to comment.