Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lock inside filestate.apply instead of Update/Delete/Import (#8806)
This makes Delete/Update/Import/Preview the same for filestate and httpstate. They could just be plain functions now except that `apply` is hidden. This also catches that when Watch did an update it wouldn't take the lock for the filestate backend because Watch called `apply` directly not `Update`.
- Loading branch information
Showing
1 changed file
with
9 additions
and
28 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