命中限流之后, 无视重试配置,不进行任何重试

This commit is contained in:
2025-04-16 20:59:52 +08:00
parent dbd9ab31a1
commit 60dd279663
4 changed files with 19 additions and 122 deletions

View File

@ -64,6 +64,7 @@ type ResponseCacheInfo struct {
}
const (
RequestFailTypeRateLimit = "SEND_REQUEST_RATE_LIMIT" // 发送请求即失败, 命中限流
RequestFailTypeSend = "SEND_REQUEST_FAIL" // 发送请求即失败, 问题出现在客户端
RequestFailTypeClientRequestInvalidError = "CLIENT_REQUEST_INVALID" // 请求非法
RequestFailTypeTimeoutError = "CLIENT_REQUEST_TIMEOUT_ERROR" // 请求失败, 请求超时