fix(laya): extend shared CPU ranking timeout
This commit is contained in:
@ -64,7 +64,7 @@ func Load() (*Config, error) {
|
||||
if layaURL == "" {
|
||||
layaURL = "http://laya:8000"
|
||||
}
|
||||
layaTimeout := 120 * time.Second
|
||||
layaTimeout := 5 * time.Minute
|
||||
if value := os.Getenv("LAYA_TIMEOUT"); value != "" {
|
||||
parsed, err := time.ParseDuration(value)
|
||||
if err != nil || parsed <= 0 || parsed > 10*time.Minute {
|
||||
|
||||
Reference in New Issue
Block a user