-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync Worker: Always compute transition at latest timestamp (#26258)
I am converting sync worker to work with Usher, and if I keep the code as is, we will make multiple calls to latest_timestamp() per transition. One to determined the target timestamp and one to check it. Making update_scheduled a Option<Timestamp> is generally a good idea, but we never actually leveraged it. So it is easier to revert for now. I have sent a separate RFC on how to finish the swing, but this provides little benefit until we have sync workers running on the edge. GitOrigin-RevId: 8b40ebb2d5c83b50dd7ed8cac26f6da8b088cc29
- Loading branch information
Preslav Le
authored and
Convex, Inc.
committed
May 24, 2024
1 parent
b214a5a
commit 18c00df
Showing
2 changed files
with
25 additions
and
20 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