add a shutdown function
Bug #134732 reported by
Aaron Swartz
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
web.py |
Confirmed
|
Medium
|
Anand Chitipothu |
Bug Description
Lots of web libraries have a shutdown function that:
1. Stops taking new requests.
2. Finishes all the existing requests.
3. Exits.
I guess it'd be nice if web.py had one too. Also, there should be on_shutdown hooks people can set to run.
Changed in webpy: | |
assignee: | nobody → anandology |
importance: | Undecided → Medium |
milestone: | none → 0.3 |
status: | New → Confirmed |
Changed in webpy: | |
milestone: | 0.3 → 0.35 |
To post a comment you must log in.
how about adding on_startup as well?