pool 2
This commit is contained in:
parent
9f9c44e904
commit
1021ceea43
@ -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