Skip to content

Commit 188449c

Browse files
committed
Added: 409 to retry error list
1 parent 742f5fa commit 188449c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • python_notion_api/async_api

python_notion_api/async_api/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def __init__(
3737
self._default_retry_strategy = RetryStrategy(
3838
total=3,
3939
backoff_factor=0.1,
40-
status_forcelist=[429, 500, 502, 503, 504],
40+
status_forcelist=[429, 500, 502, 503, 504, 409],
4141
)
4242
self._page_limit = page_limit
4343

0 commit comments

Comments
 (0)