|
|
@ -75,7 +75,7 @@ class Command(BaseCommand):
|
|
|
|
self.stdout.write("[3] connect to Elastic Search")
|
|
|
|
self.stdout.write("[3] connect to Elastic Search")
|
|
|
|
total = self.TIMEOUT // 5
|
|
|
|
total = self.TIMEOUT // 5
|
|
|
|
for i in range(total):
|
|
|
|
for i in range(total):
|
|
|
|
sleep(2)
|
|
|
|
sleep(5)
|
|
|
|
self.stdout.write(f" ... waiting for ES [{i}/{total}]")
|
|
|
|
self.stdout.write(f" ... waiting for ES [{i}/{total}]")
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
_, status_code = ElasticWrap("/").get(
|
|
|
|
_, status_code = ElasticWrap("/").get(
|
|
|
|