This is an automated email from the ASF dual-hosted git repository.
humingcheng pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/servicecomb-service-center.git
The following commit(s) were added to refs/heads/dev by this push:
new 24b5994a Update protect.go (#1495)
24b5994a is described below
commit 24b5994a59ecb1c9f2966b6b017c2796acf26974
Author: Wanghb1 <[email protected]>
AuthorDate: Wed Dec 18 09:53:18 2024 +0800
Update protect.go (#1495)
update max null instance protection delay
---
pkg/protect/protect.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkg/protect/protect.go b/pkg/protect/protect.go
index 59cf5d9f..1649b3e4 100644
--- a/pkg/protect/protect.go
+++ b/pkg/protect/protect.go
@@ -25,7 +25,7 @@ var (
)
const (
- maxInterval = 120 * time.Second
+ maxInterval = 60 * 60 * 24 * time.Second
minInterval = 0 * time.Second
defaultRestartProtectInterval = 120 * time.Second
)