revert ensure_contacts and increase timeout in get_contacts

This commit is contained in:
Florent
2025-10-20 16:30:07 +02:00
parent ec4a62c9ef
commit 8f0be09f9a
3 changed files with 2 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ class ContactCommands(CommandHandlerBase):
data = b"\x04"
if lastmod > 0:
data = data + lastmod.to_bytes(4, "little")
return await self.send(data, [EventType.CONTACTS, EventType.ERROR])
return await self.send(data, [EventType.CONTACTS, EventType.ERROR], timeout=30)
async def reset_path(self, key: DestinationType) -> Event:
key_bytes = _validate_destination(key, prefix_length=32)