We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff25710 commit a59bfb2Copy full SHA for a59bfb2
notion/client.py
@@ -39,7 +39,7 @@ def create_session(client_specified_retry=None):
39
retry = Retry(
40
5,
41
backoff_factor=0.3,
42
- status_forcelist=(502,),
+ status_forcelist=(502, 503, 504),
43
# CAUTION: adding 'POST' to this list which is not technically idempotent
44
method_whitelist=("POST", "HEAD", "TRACE", "GET", "PUT", "OPTIONS", "DELETE"),
45
)
0 commit comments