flyrain commented on code in PR #72:
URL: https://github.com/apache/polaris-tools/pull/72#discussion_r2557856952
##########
mcp-server/polaris_mcp/server.py:
##########
@@ -59,13 +59,30 @@
"required": ["isError"],
"additionalProperties": True,
}
+DEFAULT_HTTP_RETRIES_TOTAL = 3
+DEFAULT_HTTP_RETRIES_BACKOFF_FACTOR = 0.5
+HTTP_RETRIES_STATUS_FORCELIST = [401, 409, 429, 500, 502, 503, 504]
Review Comment:
I think the write API retry should be more cautious. @singhpk234 has a PR in
Iceberg to not retry on 50x.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]