Skip to content

Commit

Permalink
runaway: change QUERY WATCH time type to UTC (#56015)
Browse files Browse the repository at this point in the history
close #54770
  • Loading branch information
HuSharp authored Sep 12, 2024
1 parent 2842fcb commit 1dc045f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/executor/internal/querywatch/query_watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1dc045f

Please sign in to comment.