-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Invoke BlazeSyncPlugin.updateInMemoryState w/o a read lock
BlazeSyncPlugin.updateInMemoryState is invoked while a read lock is held. This makes it harder for the implementations of that extension point to run long running actions, parts of which may not need the read lock. This CL moves the acquisition of the read locks to be done inside the implementations, allowing them to further customize when read locks are acquired in the future. PiperOrigin-RevId: 374278077
- Loading branch information
1 parent
05b694f
commit a045eab
Showing
3 changed files
with
32 additions
and
30 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
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