-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove blocking IO for static resources and refactor exception handli…
…ng (#8507) Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]> Co-authored-by: J. Nick Koston <[email protected]>
- Loading branch information
1 parent
bbe90e5
commit c9d09f1
Showing
3 changed files
with
106 additions
and
54 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Removed blocking I/O in the event loop for static resources and refactored | ||
exception handling -- by :user:`steverep`. | ||
|
||
File system calls when handling requests for static routes were moved to a | ||
separate thread to potentially improve performance. Exception handling | ||
was tightened in order to only return 403 Forbidden or 404 Not Found responses | ||
for expected scenarios; 500 Internal Server Error would be returned for any | ||
unknown errors. |
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