We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa5ec72 commit 84f6c0bCopy full SHA for 84f6c0b
pymysqlpool/pool.py
@@ -120,9 +120,11 @@ def create_conn(self):
120
121
def _start(self):
122
"""Start thread for resize pool"""
123
- t = Thread(target=resize_pool, args=(self.interval, self.stati_num,
124
- self.multiple, self.counter,
125
- self.accumulation, self))
+ t = Thread(target=resize_pool,
+ args=(self.interval, self.stati_num,
+ self.multiple, self.counter,
126
+ self.accumulation, self),
127
+ daemon=True)
128
t.start()
129
130
def _init_pool(self):
0 commit comments