mirror of
https://github.com/9001/copyparty.git
synced 2025-08-18 01:22:13 -06:00
fix single-threaded mtag
This commit is contained in:
parent
5cba31a814
commit
c533da9129
|
@ -552,9 +552,10 @@ class Up2k(object):
|
||||||
last_write = time.time()
|
last_write = time.time()
|
||||||
n_buf = 0
|
n_buf = 0
|
||||||
|
|
||||||
self._stop_mpool(mpool)
|
if mpool:
|
||||||
with self.mutex:
|
self._stop_mpool(mpool)
|
||||||
n_add += len(self._flush_mpool(c3))
|
with self.mutex:
|
||||||
|
n_add += len(self._flush_mpool(c3))
|
||||||
|
|
||||||
conn.commit()
|
conn.commit()
|
||||||
c3.close()
|
c3.close()
|
||||||
|
|
Loading…
Reference in a new issue