mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2025-02-13 05:11:39 -05:00
client: Add missing await.
This commit is contained in:
parent
c17a737c42
commit
98dfda9496
@ -276,7 +276,7 @@ class PanClient(AsyncClient):
|
|||||||
limit=self.pan_conf.indexing_batch_size,
|
limit=self.pan_conf.indexing_batch_size,
|
||||||
)
|
)
|
||||||
except ClientConnectionError:
|
except ClientConnectionError:
|
||||||
self.history_fetch_queue.put(fetch_task)
|
await self.history_fetch_queue.put(fetch_task)
|
||||||
|
|
||||||
# The chunk was empty, we're at the start of the timeline.
|
# The chunk was empty, we're at the start of the timeline.
|
||||||
if not response.chunk:
|
if not response.chunk:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user