From de5c8415d799abdaeecb253179c6d95b23c56881 Mon Sep 17 00:00:00 2001 From: vvzvlad Date: Thu, 12 Sep 2024 05:15:53 +0300 Subject: [PATCH] add wait and retries --- config.json | 4 ++-- playbook.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.json b/config.json index b2f5324..b402058 100644 --- a/config.json +++ b/config.json @@ -6,8 +6,8 @@ "gas": "auto", "gasAdjustment": 1.5, "nodeRpc": "###RPC_URL###", - "maxRetries": 3, - "delay": 60, + "maxRetries": 10, + "delay": 20, "submitTx": true }, "worker": [ diff --git a/playbook.yaml b/playbook.yaml index 1d899e1..fcc6b72 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -457,7 +457,7 @@ - name: Wait success send ansible.builtin.shell: | - python3 logs_parser.py 60 + python3 logs_parser.py 80 args: chdir: "{{ ansible_env.HOME }}/basic-coin-prediction-node" register: docker_logs_check