-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Accept/Reject requests up front (#384)
* feat(responsemanager): move request validation to front it makes much more sense to reject requests early than put them in the processing queue. While there may be a minimal cost to evaluating a hook, there is no reason to wait to send a rejection * refactor(listeners): cleanup request processing listeners * test(responsemanager): verify response procesisng test add test to verify response processing listerner called * test(graphsync): add hooks test add test for hooks process (issue caught and fixed in process) and address PR comments
- Loading branch information
1 parent
35ac375
commit bc1b9b0
Showing
13 changed files
with
487 additions
and
401 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
Oops, something went wrong.