Browse Source
Make retry delay random between 50,501 to prevent collisions even more
pull/1713/head
Wessel Nieboer
4 months ago
No known key found for this signature in database
GPG Key ID: 929C8E45E33B5FD2
1 changed files with
1 additions and
1 deletions
-
src/Mesh.cpp
|
|
|
@ -27,7 +27,7 @@ uint8_t Mesh::getExtraAckTransmitCount() const { |
|
|
|
} |
|
|
|
|
|
|
|
uint32_t Mesh::getCADFailRetryDelay() const { |
|
|
|
return _rng->nextInt(1, 4)*120; |
|
|
|
return _rng->nextInt(50, 501); |
|
|
|
} |
|
|
|
|
|
|
|
int Mesh::searchPeersByHash(const uint8_t* hash) { |
|
|
|
|