fix: Enlarge the default retry timeout in ai-proxy (#1640)

This commit is contained in:
Kent Dong
2025-01-03 11:19:40 +08:00
committed by GitHub
parent 00be491d02
commit 187a7b5408
2 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ func (r *retryOnFailure) FromJson(json gjson.Result) {
}
r.retryTimeout = json.Get("retryTimeout").Int()
if r.retryTimeout == 0 {
r.retryTimeout = 5000
r.retryTimeout = 30 * 1000
}
}