pool 2
This commit is contained in:
parent
80aa527e52
commit
46d585c762
@ -286,6 +286,8 @@ class DbConnection:
|
||||
self.__task.cancel()
|
||||
await self._dump_buffer()
|
||||
self.__file.close()
|
||||
self.__pool.shutdown()
|
||||
self.__pool = concurrent.futures.ThreadPoolExecutor()
|
||||
await self._build_file(self.__mmdb)
|
||||
self.not_running = True
|
||||
self.__pool.shutdown()
|
||||
|
Loading…
Reference in New Issue
Block a user