浏览代码

Merge pull request #26 from sumous/patch-1

Update connection.py
Kaifeng Xu 5 年之前
父节点
当前提交
72ca1ce942
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      fdfs_client/connection.py

+ 1 - 1
fdfs_client/connection.py

@@ -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."""