2
0
mirror of https://github.com/status-im/status-go.git synced 2025-02-26 05:35:36 +00:00

9 lines
281 B
Go
Raw Normal View History

2021-01-11 11:32:51 +01:00
package ens
// maxRetries is the maximum number of attempts we do before giving up
const maxRetries uint64 = 11
// ENSBackoffTimeSec is the step of the exponential backoff
// we retry roughly for 17 hours after receiving the message 2^11 * 30
const ENSBackoffTimeSec uint64 = 30