mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-14 02:35:54 +00:00
align
Signed-off-by: Eric Dvorsak <eric@dvorsak.fr>
This commit is contained in:
parent
ddb15863f1
commit
faa690950f
@ -229,9 +229,9 @@
|
|||||||
;; Run immediately on first run, add delay before retry
|
;; Run immediately on first run, add delay before retry
|
||||||
(let [delay (cond
|
(let [delay (cond
|
||||||
(zero? retries) 0
|
(zero? retries) 0
|
||||||
(< retries 3) 300
|
(< retries 3) 300
|
||||||
(< retries 10) 1000
|
(< retries 10) 1000
|
||||||
:else 5000)]
|
:else 5000)]
|
||||||
(if (> retries 100)
|
(if (> retries 100)
|
||||||
(log/error "Number of retries for fetching peers exceed" wnode)
|
(log/error "Number of retries for fetching peers exceed" wnode)
|
||||||
(js/setTimeout
|
(js/setTimeout
|
||||||
|
Loading…
x
Reference in New Issue
Block a user