From d73a131616e07a4be67376860866e25dbf77b3a0 Mon Sep 17 00:00:00 2001 From: simon Date: Wed, 1 Feb 2023 16:06:40 +0700 Subject: [PATCH] extend timeout --- tubearchivist/config/management/commands/ta_connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tubearchivist/config/management/commands/ta_connection.py b/tubearchivist/config/management/commands/ta_connection.py index 15bb91b1..4f6b8c31 100644 --- a/tubearchivist/config/management/commands/ta_connection.py +++ b/tubearchivist/config/management/commands/ta_connection.py @@ -75,7 +75,7 @@ class Command(BaseCommand): self.stdout.write("[3] connect to Elastic Search") total = self.TIMEOUT // 5 for i in range(total): - sleep(2) + sleep(5) self.stdout.write(f" ... waiting for ES [{i}/{total}]") try: _, status_code = ElasticWrap("/").get(