Merge pull request #989 from mc-hamster/display_speed

Bug in getNumOnlineNodes #988
This commit is contained in:
Jm Casler 2021-12-11 20:10:36 -08:00 committed by GitHub
commit 2f16b3f345
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -433,7 +433,7 @@ uint32_t sinceLastSeen(const NodeInfo *n)
return delta;
}
#define NUM_ONLINE_SECS (60 * 2) // 2 hrs to consider someone offline
#define NUM_ONLINE_SECS (60 & 60 * 2) // 2 hrs to consider someone offline
size_t NodeDB::getNumOnlineNodes()
{