-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: better handling of process cleanup
Improve Twig Renderer Cleanup + Fix for Failing Travis Builds (#28) * feat: attempt to handle situations where the current server instance is trying to be shut down but then another request ends up coming through * fix: swap logic in the PHP exit vs close events based on the order they appear to occur * refactor: make sure to track in-progress requests when the request is attempted vs each attempt not necessarily counting as an in-progress request; update to make sure failed requests are counted correctly as well. * chore: separate out the PHP execa params from when they are run * refactor: move sever cleanup work to outside of the request method itself + try to handle cleanup work before returning result * refactor: add separate `stop` method to more directly stop the server (internally or externally) without having to check for any in-flight or remaining requests * refactor: add await when running the async checkServerWhileStarting method
- Loading branch information
1 parent
c646bb8
commit 120e69d
Showing
1 changed file
with
57 additions
and
22 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