mirror of https://github.com/logos-co/wadoku.git
expo back off added to common
This commit is contained in:
parent
43ada8fd4f
commit
a304d6ef19
|
@ -11,10 +11,14 @@ const PortRange = 1000
|
||||||
|
|
||||||
const GraceWait = 10 // percentage
|
const GraceWait = 10 // percentage
|
||||||
const InterPubSubDelay = 25 // seconds
|
const InterPubSubDelay = 25 // seconds
|
||||||
|
|
||||||
const DnsDiscoveryUrl = "enrtree://AOGECG2SPND25EEFMAJ5WF3KSGJNSGV356DSTL2YVLLZWIV6SAYBM@prod.waku.nodes.status.im"
|
const DnsDiscoveryUrl = "enrtree://AOGECG2SPND25EEFMAJ5WF3KSGJNSGV356DSTL2YVLLZWIV6SAYBM@prod.waku.nodes.status.im"
|
||||||
const NameServer = "1.1.1.1"
|
const NameServer = "1.1.1.1"
|
||||||
const LocalHost = "0.0.0.0"
|
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 {
|
type Config struct {
|
||||||
LogLevel string
|
LogLevel string
|
||||||
Ofname string
|
Ofname string
|
||||||
|
|
Loading…
Reference in New Issue