Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johnbiundo/cats-01
test graceful shutdown
https://github.com/johnbiundo/cats-01
Last synced: 9 days ago
JSON representation
test graceful shutdown
- Host: GitHub
- URL: https://github.com/johnbiundo/cats-01
- Owner: johnbiundo
- Created: 2019-08-31T22:36:40.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T00:20:03.000Z (almost 2 years ago)
- Last Synced: 2024-11-10T15:50:48.376Z (2 months ago)
- Language: TypeScript
- Size: 842 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cats-01
test graceful shutdown> git clone
> npm install
> npm run start
To kill server, in console where it was started, use `Ctrl-C`
Scenarios to test:
1. Just let it start, then kill, and observe logging.
2. Start a request in one browser, kill server, observe
3. Start a request in one browser, kill server, start a request in a second browser
- this should allow first request to complete, second get a 503 error, then shutdown when first request completes