T-570 调整 cmhub 生图 submit 超时

This commit is contained in:
chengma
2026-07-09 14:30:53 +08:00
parent 4e98a86fb3
commit bd99a0d5b7
5 changed files with 60 additions and 4 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ class CMHubError(AIError):
CMHUB_IMAGE_MAX_BYTES = 20 * 1024 * 1024
CMHUB_TITLE_READ_TIMEOUT_SECONDS = 600
CMHUB_IMAGE_READ_TIMEOUT_SECONDS = 900
CMHUB_IMAGE_SUBMIT_READ_TIMEOUT_SECONDS = 30
CMHUB_IMAGE_SUBMIT_READ_TIMEOUT_SECONDS = 36
CMHUB_IMAGE_POLL_READ_TIMEOUT_SECONDS = 15
CMHUB_IMAGE_POLL_DELAYS_SECONDS = (3.0, 5.0, 8.0, 10.0)
CMHUB_IMAGE_CONCURRENCY_LIMIT = 5