mirror of
https://github.com/sprockets/sprockets-postgres.git
synced 2024-11-13 03:00:19 +00:00
More documentaiton updates
This commit is contained in:
parent
d7406ac1d3
commit
4e70836ddd
1 changed files with 4 additions and 2 deletions
|
@ -359,7 +359,8 @@ class ApplicationMixin:
|
|||
loop: ioloop.IOLoop) -> None:
|
||||
"""Setup the Postgres pool of connections and log if there is an error.
|
||||
|
||||
This is invoked by the Application on start callback mechanism.
|
||||
This is invoked by the :class:`sprockets.http.app.Application` on start
|
||||
callback mechanism.
|
||||
|
||||
"""
|
||||
if 'POSTGRES_URL' not in os.environ:
|
||||
|
@ -403,7 +404,8 @@ class ApplicationMixin:
|
|||
async def _postgres_shutdown(self, _ioloop: ioloop.IOLoop) -> None:
|
||||
"""Shutdown the Postgres connections and wait for them to close.
|
||||
|
||||
This is invoked by the Application shutdown callback mechanism.
|
||||
This is invoked by the :class:`sprockets.http.app.Application` shutdown
|
||||
callback mechanism.
|
||||
|
||||
"""
|
||||
if self._postgres_pool is not None:
|
||||
|
|
Loading…
Reference in a new issue