Update documentation

This commit is contained in:
Gavin M. Roy 2016-03-11 10:29:14 -05:00
parent d17c668f83
commit 20d0a0ed43
2 changed files with 13 additions and 1 deletions

View file

@ -22,6 +22,11 @@ call when specific events occur. The following events are supported:
If any callback raises an exception, then the application is
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:
When the application receives a stop signal, it will run each of the
callbacks before terminating the application instance. Exceptions

View file

@ -2,6 +2,12 @@
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)
----------------------
@ -61,4 +67,5 @@ Release History
.. _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.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