Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support fluctuating task load in matching simulation #6565

Merged
Show file tree
Hide file tree
Changes from all 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
7 changes: 7 additions & 0 deletions common/dynamicconfig/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -2436,6 +2436,7 @@ const (
MatchingPartitionUpscaleSustainedDuration
MatchingPartitionDownscaleSustainedDuration
MatchingAdaptiveScalerUpdateInterval
MatchingQPSTrackerInterval

// HistoryLongPollExpirationInterval is the long poll expiration interval in the history service
// KeyName: history.longPollExpirationInterval
Expand Down Expand Up @@ -4778,6 +4779,12 @@ var DurationKeys = map[DurationKey]DynamicDuration{
Description: "MatchingAdaptiveScalerUpdateInterval is the internal for adaptive scaler to update",
DefaultValue: time.Second * 15,
},
MatchingQPSTrackerInterval: {
KeyName: "matching.qpsTrackerInterval",
Filters: []Filter{DomainName, TaskListName, TaskType},
Description: "MatchingQPSTrackerInterval is the interval for qps tracker's loop. Changes are not reflected until service restart",
DefaultValue: time.Second * 10,
},
HistoryLongPollExpirationInterval: {
KeyName: "history.longPollExpirationInterval",
Filters: []Filter{DomainName},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ services:
- -c
- >
go test -timeout 180s
-run ^TestMatchingSimulationSuite$
-run ^TestMatchingSimulation.*$
-count 1
-v
-tags matchingsim
Expand Down
Loading
Loading