From 3a4f713fccbe76162eeb114f85ad96380f001229 Mon Sep 17 00:00:00 2001 From: my Date: Thu, 24 Sep 2026 15:00:58 +0200 Subject: [PATCH] increase timeouts --- src/meshberry/EvilChatMesh.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/meshberry/EvilChatMesh.h b/src/meshberry/EvilChatMesh.h index 90ba683..dd48433 100644 --- a/src/meshberry/EvilChatMesh.h +++ b/src/meshberry/EvilChatMesh.h @@ -14,7 +14,7 @@ #include #define MAX_MSG_LEN 100 -#define MAX_HISTORY 32 +#define MAX_HISTORY 128 #define MAX_NODES 30 struct NodePresence { @@ -35,8 +35,8 @@ extern int nodesCount; extern uint8_t broadcastAddressEspNow[6]; /* Timings */ -#define TIMEOUT_PRESENCE 2000 -#define PING_INTERVAL 500 +#define TIMEOUT_PRESENCE 3000 +#define PING_INTERVAL 1000 extern unsigned long lastPing; /* ---------- BUFFER SÉCURISÉ POUR LE CALLBACK ---------- */