Browse Source
Merge pull request #871 from spacepc-de/fix-debug-log-field
Fix debug log: use c->extra.room.push_failures instead of c->push_failures
pull/954/head
ripplebiz
8 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
examples/simple_room_server/MyMesh.cpp
|
|
@ -784,7 +784,7 @@ void MyMesh::loop() { |
|
|
if (c->extra.room.pending_ack && millisHasNowPassed(c->extra.room.ack_timeout)) { |
|
|
if (c->extra.room.pending_ack && millisHasNowPassed(c->extra.room.ack_timeout)) { |
|
|
c->extra.room.push_failures++; |
|
|
c->extra.room.push_failures++; |
|
|
c->extra.room.pending_ack = 0; // reset (TODO: keep prev expected_ack's in a list, incase they arrive LATER, after we retry)
|
|
|
c->extra.room.pending_ack = 0; // reset (TODO: keep prev expected_ack's in a list, incase they arrive LATER, after we retry)
|
|
|
MESH_DEBUG_PRINTLN("pending ACK timed out: push_failures: %d", (uint32_t)c->push_failures); |
|
|
MESH_DEBUG_PRINTLN("pending ACK timed out: push_failures: %d", (uint32_t)c->extra.room.push_failures); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
// check next Round-Robin client, and sync next new post
|
|
|
// check next Round-Robin client, and sync next new post
|
|
|
|