|
@@ -101,7 +101,7 @@ class ConnectionPool(object):
|
|
|
def _check_pid(self):
|
|
|
if self.pid != os.getpid():
|
|
|
self.destroy()
|
|
|
- self.__init__(self.conn_class, self.max_conn, **self.conn_kwargs)
|
|
|
+ self.__init__(self.pool_name, self.conn_class, self.max_conn, **self.conn_kwargs)
|
|
|
|
|
|
def make_conn(self):
|
|
|
"""Create a new connection."""
|