Skip to content
Snippets Groups Projects
Commit 18a8bfb94315 authored by INADA Naoki's avatar INADA Naoki
Browse files

nit fix

parent d4bbff24b181
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@
from tornado.ioloop import IOLoop
from tornado.gen import coroutine, Return
from tornado.concurrent import Future, chain_future
from tornado.concurrent import Future
from tornado_mysql import connect
from tornado_mysql.connections import Connection
......@@ -55,6 +55,7 @@
self._waitings = deque()
def stat(self):
"""Returns (opened connections, free connections, waiters)"""
return (self._opened_conns, len(self._free_conn), len(self._waitings))
def _get_conn(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment