We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b10471 commit 125c663Copy full SHA for 125c663
tornado_mysql/pools.py
@@ -6,7 +6,7 @@
6
7
from tornado.ioloop import IOLoop
8
from tornado.gen import coroutine, Return
9
-from tornado.concurrent import Future, chain_future
+from tornado.concurrent import Future
10
11
from tornado_mysql import connect
12
from tornado_mysql.connections import Connection
@@ -55,6 +55,7 @@ def __init__(self,
55
self._waitings = deque()
56
57
def stat(self):
58
+ """Returns (opened connections, free connections, waiters)"""
59
return (self._opened_conns, len(self._free_conn), len(self._waitings))
60
61
def _get_conn(self):
0 commit comments