mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 11:34:45 +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
|
||||
(let [delay (cond
|
||||
(zero? retries) 0
|
||||
(< retries 3) 300
|
||||
(< retries 10) 1000
|
||||
:else 5000)]
|
||||
(< retries 3) 300
|
||||
(< retries 10) 1000
|
||||
:else 5000)]
|
||||
(if (> retries 100)
|
||||
(log/error "Number of retries for fetching peers exceed" wnode)
|
||||
(js/setTimeout
|
||||
|
Loading…
x
Reference in New Issue
Block a user