mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-11-21 23:46:49 +08:00
fix: Change the implementation of retry from 307 redirect to Retry middleware
This commit is contained in:
@@ -83,6 +83,7 @@ var PreConsumedQuota = 500
|
||||
var ApproximateTokenEnabled = false
|
||||
var RetryTimes = 0
|
||||
|
||||
var RetryInterval = 0 // unit is millisecond
|
||||
var RootUserEmail = ""
|
||||
|
||||
var IsMasterNode = os.Getenv("NODE_TYPE") != "slave"
|
||||
|
||||
Reference in New Issue
Block a user