expo back off added to common

This commit is contained in:
0xFugue 2023-01-22 12:13:47 +05:30
parent 43ada8fd4f
commit a304d6ef19
1 changed files with 4 additions and 0 deletions

View File

@ -11,10 +11,14 @@ const PortRange = 1000
const GraceWait = 10 // percentage
const InterPubSubDelay = 25 // seconds
const DnsDiscoveryUrl = "enrtree://AOGECG2SPND25EEFMAJ5WF3KSGJNSGV356DSTL2YVLLZWIV6SAYBM@prod.waku.nodes.status.im"
const NameServer = "1.1.1.1"
const LocalHost = "0.0.0.0"
const ExpBackOffInit time.Duration = 10*time.Second // 10s, 20s, 40s, 80s, 160s
const ExpBackOffRetries int = 5
type Config struct {
LogLevel string
Ofname string