Skip to content

Commit d5a512c

Browse files
committed
Make retry delay random between 50,501 to prevent collisions even more
1 parent 06ab9f7 commit d5a512c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Mesh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ uint8_t Mesh::getExtraAckTransmitCount() const {
2727
}
2828

2929
uint32_t Mesh::getCADFailRetryDelay() const {
30-
return _rng->nextInt(1, 4)*120;
30+
return _rng->nextInt(50, 501);
3131
}
3232

3333
int Mesh::searchPeersByHash(const uint8_t* hash) {

0 commit comments

Comments
 (0)