From 1f656b7b36b24304dce21c5b7ae62a23ca6c84ff Mon Sep 17 00:00:00 2001 From: Victor Carlos Erenu Date: Thu, 25 Dec 2025 18:24:08 +0700 Subject: [PATCH] Modify sleep time for count documents --- .github/workflows/push.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 9eef790d..7ba05f0c 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -214,8 +214,8 @@ jobs: exit 0 fi - echo "The index is empty or does not exist yet (Count: $DOCS). Waiting 30s" - [ $i -lt 10 ] && sleep 30 + echo "The index is empty or does not exist yet (Count: $DOCS). Waiting 60s" + [ $i -lt 10 ] && sleep 60 done echo "Error: No documents found in wazuh-states after 10 attempts." echo "Last response: $RESPONSE" @@ -445,8 +445,8 @@ jobs: exit 0 fi - echo "The index is empty or does not exist yet (Count: $DOCS). Waiting 30s" - [ $i -lt 10 ] && sleep 30 + echo "The index is empty or does not exist yet (Count: $DOCS). Waiting 60s" + [ $i -lt 10 ] && sleep 60 done echo "Error: No documents found in wazuh-states after 10 attempts." echo "Last response: $RESPONSE"