Refactor WebSocket handling: add NFC data sending to clients and improve connection logging; adjust task priority for better scheduling
This commit is contained in:
1 parent
13a0acf2ac
commit
ad145c7d7a
3 files changed
+25
-6
No files matched your search
@@ -119,6 +119,8 @@ void loop() {
|
||||
if (intervalElapsed(currentMillis, lastTopRowUpdateTime, DISPLAY_UPDATE_INTERVAL))
|
||||
{
|
||||
oledShowTopRow();
|
||||
// Clean up dead websocket clients periodically instead of on connect
|
||||
if(currentMillis % 10000 < 50) ws.cleanupClients();
|
||||
}
|
||||
|
||||
// Periodic FilaMan heartbeat
|
||||
|
||||
Reference in new issue
Block a user