diff options
author | Taem Park <wwwee98@gmail.com> | 2018-08-21 10:54:45 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2018-09-18 21:58:02 -0400 |
commit | b64a3dd87a4204ce6d4f2793a7a3f7fbf72eb01f (patch) | |
tree | 8de8e0e60e63228beae54378eae0e990b4a9ce3c /lib/sqlalchemy/dialects/postgresql/json.py | |
parent | 67a2cd92295bef55d914a5c560b4cead5d456837 (diff) | |
download | sqlalchemy-b64a3dd87a4204ce6d4f2793a7a3f7fbf72eb01f.tar.gz |
Add LIFO for connection pooling
Added new "lifo" mode to :class:`.QueuePool`, typically enabled by setting
the flag :paramref:`.create_engine.pool_use_lifo` to True. "lifo" mode
means the same connection just checked in will be the first to be checked
out again, allowing excess connections to be cleaned up from the server
side during periods of the pool being only partially utilized. Pull request
courtesy Taem Park.
Change-Id: Idb5e299c5082b3e6b547bd03022acf65fdc34f35
Pull-request: https://github.com/zzzeek/sqlalchemy/pull/467
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/json.py')
0 files changed, 0 insertions, 0 deletions