update db

This commit is contained in:
AF 2022-11-20 23:01:08 +00:00
parent f67bdf12ca
commit 324236f435
3 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,3 @@
aiohttp aiohttp
PyNaCl~=1.4.0 PyNaCl~=1.4.0
ptvp35 @ git+https://gitea.parrrate.ru/PTV/ptvp35.git@8be67bf834c7acb2d302060025e1a4c87e614cf8 ptvp35 @ git+https://gitea.parrrate.ru/PTV/ptvp35.git@87ba808c2af1be87f4fbb9d9b3b97ba748cb9fae

View File

@ -15,7 +15,7 @@ setup(
], ],
extras_require={ extras_require={
'full': [ 'full': [
'ptvp35 @ git+https://gitea.parrrate.ru/PTV/ptvp35.git@632569a13521e6769ebe8bc4339c4f39a519be4f', 'ptvp35 @ git+https://gitea.parrrate.ru/PTV/ptvp35.git@87ba808c2af1be87f4fbb9d9b3b97ba748cb9fae',
], ],
}, },
) )

View File

@ -161,7 +161,7 @@ class CDB:
self.role_mapping: MutableMapping[Role, RoleRequest] = weakref.WeakValueDictionary() self.role_mapping: MutableMapping[Role, RoleRequest] = weakref.WeakValueDictionary()
self.heap: list[AbstractRequest] = [] self.heap: list[AbstractRequest] = []
self._loop = loop self._loop = loop
self.rdb = Db(_rdbfile, kvrequest_type=KVJson) self.rdb = Db(_rdbfile, kvfactory=KVJson())
def _cleanup(self): def _cleanup(self):
while self.heap and self.heap[0].timed_out(): while self.heap and self.heap[0].timed_out():