MCPcopy Create free account
hub / github.com/temporalio/temporal / testTaskQueueRateLimitName

Method testTaskQueueRateLimitName

tests/task_queue_test.go:178–184  ·  view source on GitHub ↗
(nPartitions, nWorkers int, useNewMatching bool)

Source from the content-addressed store, hash-verified

176}
177
178func (s *TaskQueueSuite) testTaskQueueRateLimitName(nPartitions, nWorkers int, useNewMatching bool) string {
179 ret := fmt.Sprintf("%vPartitions_%vWorkers", nPartitions, nWorkers)
180 if useNewMatching {
181 return "NewMatching_" + ret
182 }
183 return "OldMatching_" + ret
184}
185
186// configureRateLimitAndLaunchWorkflows sets up the test environment to validate task queue API rate limiting behavior.
187// - Applies an API-level RPS override on the activity task queue by calling the updateTaskQueueConfig api.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected