From 0e3a2633612e4d57a8f57945368109ed36fcd71e Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Sun, 17 May 2020 15:42:52 +0200
Subject: [PATCH] [enh] #232: Increase ASYNC_SLEEP to 0.15s to retrieve ids
 from tx_history

- To avoid 503 http code error got when reaching the request spam limit
---
 silkaj/constants.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/silkaj/constants.py b/silkaj/constants.py
index 9d598dba..207999fa 100644
--- a/silkaj/constants.py
+++ b/silkaj/constants.py
@@ -21,7 +21,7 @@ GTEST_SYMBOL = "ÄžTest"
 G1_DEFAULT_ENDPOINT = "g1.duniter.org", "443"
 G1_TEST_DEFAULT_ENDPOINT = "g1-test.duniter.org", "443"
 CONNECTION_TIMEOUT = 10
-ASYNC_SLEEP = 0.1
+ASYNC_SLEEP = 0.15
 SOURCES_PER_TX = 40
 SUCCESS_EXIT_STATUS = 0
 FAILURE_EXIT_STATUS = 1
-- 
GitLab