Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

pdutil: use temp pause config #592

Merged
merged 25 commits into from
Nov 16, 2020
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/debug.go
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ func setPDConfigCommand() *cobra.Command {
}
defer mgr.Close()

if err := mgr.UpdatePDScheduleConfig(ctx, pdutil.DefaultPDCfg); err != nil {
if err := mgr.UpdatePDScheduleConfig(ctx, pdutil.DefaultPDCfg, pdutil.PDRequest); err != nil {
return errors.Annotate(err, "fail to update PD merge config")
}
log.Info("add pd configs succeed", zap.Any("config", pdutil.DefaultPDCfg))
Expand Down
Loading