mirror of
https://github.com/sprockets/sprockets.http.git
synced 2024-11-14 19:29:28 +00:00
Update documentation
This commit is contained in:
parent
d17c668f83
commit
20d0a0ed43
2 changed files with 13 additions and 1 deletions
|
@ -22,6 +22,11 @@ call when specific events occur. The following events are supported:
|
||||||
If any callback raises an exception, then the application is
|
If any callback raises an exception, then the application is
|
||||||
terminated **before** the IOLoop is started.
|
terminated **before** the IOLoop is started.
|
||||||
|
|
||||||
|
:on_start:
|
||||||
|
This set of callbacks is invoked after Tornado forks sub-processes
|
||||||
|
(based on the ``number_of_procs`` setting) and **after**
|
||||||
|
:meth:`~tornado.ioloop.IOLoop.start` is called.
|
||||||
|
|
||||||
:shutdown:
|
:shutdown:
|
||||||
When the application receives a stop signal, it will run each of the
|
When the application receives a stop signal, it will run each of the
|
||||||
callbacks before terminating the application instance. Exceptions
|
callbacks before terminating the application instance. Exceptions
|
||||||
|
|
|
@ -2,6 +2,12 @@
|
||||||
|
|
||||||
Release History
|
Release History
|
||||||
===============
|
===============
|
||||||
|
`1.2.0`_ (11 Mar 2016)
|
||||||
|
----------------------
|
||||||
|
- Add support for the ``on_start`` callback.
|
||||||
|
- Add support to wait for the completion of ``shutdown`` callbacks that
|
||||||
|
return a future.
|
||||||
|
- Adds new init params to runner.Runner for the three callback types
|
||||||
|
|
||||||
`1.1.2`_ (23 Feb 2016)
|
`1.1.2`_ (23 Feb 2016)
|
||||||
----------------------
|
----------------------
|
||||||
|
@ -61,4 +67,5 @@ Release History
|
||||||
.. _1.0.1: https://github.com/sprockets/sprockets.http/compare/1.0.0...1.0.1
|
.. _1.0.1: https://github.com/sprockets/sprockets.http/compare/1.0.0...1.0.1
|
||||||
.. _1.0.2: https://github.com/sprockets/sprockets.http/compare/1.0.1...1.0.2
|
.. _1.0.2: https://github.com/sprockets/sprockets.http/compare/1.0.1...1.0.2
|
||||||
.. _1.1.0: https://github.com/sprockets/sprockets.http/compare/1.0.2...1.1.0
|
.. _1.1.0: https://github.com/sprockets/sprockets.http/compare/1.0.2...1.1.0
|
||||||
.. _Next Release: https://github.com/sprockets/sprockets.http/compare/1.1.0...master
|
.. _1.2.0: https://github.com/sprockets/sprockets.http/compare/1.0.2...1.2.0
|
||||||
|
.. _Next Release: https://github.com/sprockets/sprockets.http/compare/1.2.0...master
|
||||||
|
|
Loading…
Reference in a new issue