From 98dfda94964315ad6b2e16c8c8afac75fc9562e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Thu, 4 Jul 2019 14:53:27 +0200 Subject: [PATCH] client: Add missing await. --- pantalaimon/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pantalaimon/client.py b/pantalaimon/client.py index e50195b..6c15831 100644 --- a/pantalaimon/client.py +++ b/pantalaimon/client.py @@ -276,7 +276,7 @@ class PanClient(AsyncClient): limit=self.pan_conf.indexing_batch_size, ) 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. if not response.chunk: