Skip to content

Commit

Permalink
runaway: change QUERY WATCH time type to UTC (#56015) (#56042)
Browse files Browse the repository at this point in the history
close #54770
  • Loading branch information
ti-chi-bot authored Sep 23, 2024
1 parent a5cdc08 commit 9d71779
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 @@ -117,7 +117,7 @@ func setWatchOption(ctx context.Context,
func fromQueryWatchOptionList(ctx context.Context, sctx, newSctx sessionctx.Context, optionList []*ast.QueryWatchOption) (*resourcegroup.QuarantineRecord, error) {
record := &resourcegroup.QuarantineRecord{
Source: resourcegroup.ManualSource,
StartTime: time.Now(),
StartTime: time.Now().UTC(),
EndTime: resourcegroup.NullTime,
}
for _, op := range optionList {
Expand Down

0 comments on commit 9d71779

Please sign in to comment.