Increase ListEntitiesRequest timeout to 30 seconds (#234)

This commit is contained in:
Suryandaru Triandana 2022-07-07 06:39:01 +07:00 committed by GitHub
parent b5a85fbed4
commit 5831eb5f2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -282,7 +282,7 @@ class APIClient:
assert self._connection is not None
resp = await self._connection.send_message_await_response_complex(
ListEntitiesRequest(), do_append, do_stop, timeout=5
ListEntitiesRequest(), do_append, do_stop, timeout=30
)
entities: List[EntityInfo] = []
services: List[UserService] = []