-
Notifications
You must be signed in to change notification settings - Fork 911
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip over entire time range if paused and batch and cache time queries (
#4215) * Skip over entier time range if paused * Refactor * versioning using tweakables * batch next time calculation in side effect * Add version and a time generator to cache time results * Update service/worker/scheduler/workflow.go Co-authored-by: David Reiss <[email protected]> * Refactor based on PR comments * Update service/worker/scheduler/workflow.go Co-authored-by: David Reiss <[email protected]> * Update service/worker/scheduler/workflow.go Co-authored-by: David Reiss <[email protected]> * Update service/worker/scheduler/workflow.go Co-authored-by: David Reiss <[email protected]> * Update service/worker/scheduler/workflow.go Co-authored-by: David Reiss <[email protected]> * Add enum for versioning * Fix a bug with skipping schedules * Additional check for Equal * Test cache * Update service/worker/scheduler/workflow.go Co-authored-by: David Reiss <[email protected]> * Use map and add backfill to test * Update service/worker/scheduler/workflow.go Co-authored-by: David Reiss <[email protected]> * Update service/worker/scheduler/workflow.go Co-authored-by: David Reiss <[email protected]> * Update service/worker/scheduler/workflow.go Co-authored-by: David Reiss <[email protected]> * Update name * Improve backfill injection and add some randomness * Clear the map before re-populating * set map to nil * update tests to refill cache --------- Co-authored-by: David Reiss <[email protected]>
- Loading branch information
1 parent
807b791
commit dc7f28d
Showing
2 changed files
with
141 additions
and
10 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