forked from temporalio/temporal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Scheduled Actions] Limit the length of the ScheduleInfo Spec fields …
…in the memo block (ListSchedules) (temporalio#7356) ## What changed? - The Spec fields on `ScheduleInfo` have an upper bound applied to their length with the LimitMemoSpecSize version applied. ## Why? - Large ScheduleInfo blocks in the memo lead to unnecessarily large database transactions. Customers can still use `DescribeSchedule` to get the full spec. ## How did you test it? - New functional test. - `go test -tags test_dep -v ./tests/ -run ScheduleFunctionalSuite/TestLimitMemoSpecSize && make lint` ## Potential risks - We break a customer who'd been relying on an exhaustive ScheduleInfo block in ListSchedules responses upon rollout.
- Loading branch information
1 parent
274a064
commit 8def786
Showing
2 changed files
with
87 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters