Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor filesystem store for timeout function passing (#439)
Refactor `filesystem_store::FilesystemStore` to allow for controlling sleep function from outside of implementation. Hoist `BytesMut.split()` to a position before the loop to prevent subsequent calls that result in an empty buffer. Original patch: #426 / @Jirixek Fixes (#426) Co-authored-by: Jiří Szkandera @Jirixek
- Loading branch information
1 parent
f9e537c
commit 5123ffc
Showing
2 changed files
with
71 additions
and
11 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