-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* handle RemoveKeys command in ScanTask * implements DeleteKeys request * uses spawn_blocking and updates comments * removes spawn_init fn * adds test for new Storage method * adds fake_sapling_results helper function * adds test for scan service DeleteKeys request * adds TODO for unwrap_or_clone * checks the keys sent to the scan task for removal * moves message processing to its own function * adds a timeout for the scanner task response * hide mock() methods behind cfg(test) or feature * adds MAX_REQUEST_KEYS constant * updates test to insert and delete results for a second key * Update zebra-scan/src/init.rs Co-authored-by: Alfredo Garcia <[email protected]> * test that the expected number of results are in the db * fix unused import lint * fixes unused imports --------- Co-authored-by: Alfredo Garcia <[email protected]>
- Loading branch information
1 parent
768eb90
commit 80827f5
Showing
13 changed files
with
369 additions
and
61 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
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
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
Oops, something went wrong.