From 4c86cd6bfa50defe9380e14d5c4d136d138acc2e Mon Sep 17 00:00:00 2001 From: ifooth Date: Sat, 14 Sep 2024 16:57:09 +0800 Subject: [PATCH] chore: bcs-task mysql store step message use text type --- bcs-common/common/task/revokers/etcd/revoke.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bcs-common/common/task/revokers/etcd/revoke.go b/bcs-common/common/task/revokers/etcd/revoke.go index 9fac90291e..4186f1ec5f 100644 --- a/bcs-common/common/task/revokers/etcd/revoke.go +++ b/bcs-common/common/task/revokers/etcd/revoke.go @@ -145,7 +145,7 @@ func (b *etcdRevoker) cleanupRevokeSign() { defer b.mtx.Unlock() for taskID, sign := range b.revokeSignMap { - if time.Since(sign.registerTime) > time.Hour*24 { + if time.Since(sign.registerTime) > time.Hour*24*3 { sign.cancel() delete(b.revokeSignMap, taskID) }