Skip to content
Snippets Groups Projects
Commit 948d5858 authored by Gavin M. Roy's avatar Gavin M. Roy
Browse files

Ensure the pool exists on creation too

parent 82b731a6
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -169,6 +169,7 @@ class TornadoSession(session.Session):
self._pool_max_size = pool_max_size
self._pool_idle_ttl = pool_idle_ttl
self._uri = uri
self._ensure_pool_exists()
 
def _ensure_pool_exists(self):
"""Create the pool in the pool manager if it does not exist."""
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment