From 0414ea5f743e21dcc68311c4d21660b9d914b803 Mon Sep 17 00:00:00 2001 From: husharp Date: Wed, 11 Sep 2024 15:35:54 +0800 Subject: [PATCH] change to utc Signed-off-by: husharp --- pkg/executor/internal/querywatch/query_watch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/executor/internal/querywatch/query_watch.go b/pkg/executor/internal/querywatch/query_watch.go index 98847a2b101df..3d1c861462461 100644 --- a/pkg/executor/internal/querywatch/query_watch.go +++ b/pkg/executor/internal/querywatch/query_watch.go @@ -122,7 +122,7 @@ func fromQueryWatchOptionList(ctx context.Context, sctx, newSctx sessionctx.Cont optionList []*ast.QueryWatchOption) (*runaway.QuarantineRecord, error) { record := &runaway.QuarantineRecord{ Source: runaway.ManualSource, - StartTime: time.Now(), + StartTime: time.Now().UTC(), EndTime: runaway.NullTime, } for _, op := range optionList {