Skip to content

Commit

Permalink
document pool_recycle and bump version (#383)
Browse files Browse the repository at this point in the history
  • Loading branch information
jettify committed Sep 10, 2017
1 parent 22e5a26 commit 1428d47
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGES.txt
@@ -1,6 +1,12 @@
CHANGES
-------

0.13.1 (2017-09-10)
^^^^^^^^^^^^^^^^^^^

* Added connection poll recycling logic #373


0.13.0 (2016-12-02)
^^^^^^^^^^^^^^^^^^^

Expand Down
2 changes: 1 addition & 1 deletion aiopg/__init__.py
Expand Up @@ -10,7 +10,7 @@
__all__ = ('connect', 'create_pool', 'Connection', 'Cursor', 'Pool',
'version', 'version_info', 'DEFAULT_TIMEOUT')

__version__ = '0.13.0'
__version__ = '0.13.1'

version = __version__ + ' , Python ' + sys.version

Expand Down
4 changes: 4 additions & 0 deletions docs/core.rst
Expand Up @@ -718,6 +718,10 @@ The basic usage is::
created connection. May be used for setting up connection level
state like client encoding etc.

:param float pool_recycle: number of seconds after which connection
is recycled, helps to deal with stale connections in pool, default
value is ``-1``, means recycling logic is disabled.

:return: :class:`Pool` instance.


Expand Down

0 comments on commit 1428d47

Please sign in to comment.