mirror of
https://github.com/9001/copyparty.git
synced 2026-02-20 17:30:08 +10:00
fix single-threaded mtag
This commit is contained in:
@@ -552,9 +552,10 @@ class Up2k(object):
|
||||
last_write = time.time()
|
||||
n_buf = 0
|
||||
|
||||
self._stop_mpool(mpool)
|
||||
with self.mutex:
|
||||
n_add += len(self._flush_mpool(c3))
|
||||
if mpool:
|
||||
self._stop_mpool(mpool)
|
||||
with self.mutex:
|
||||
n_add += len(self._flush_mpool(c3))
|
||||
|
||||
conn.commit()
|
||||
c3.close()
|
||||
|
||||
Reference in New Issue
Block a user