From 4c4929df9e39f1e765a0e5f117b7a3cb5b6a942c Mon Sep 17 00:00:00 2001 From: Naddeo Eddy Date: Sat, 14 Dec 2024 19:02:14 +0100 Subject: [PATCH] adding delay to let the server breathe --- resources/views/dashboard.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/dashboard.blade.php b/resources/views/dashboard.blade.php index 5e5f340..3a20ea6 100644 --- a/resources/views/dashboard.blade.php +++ b/resources/views/dashboard.blade.php @@ -178,7 +178,7 @@ class="ml-2 text-red-500 hover:text-red-700 focus:outline-none" } // Fonction pour démarrer la mise à jour automatique des messages - function startAutoRefresh(intervalTime = 500) { + function startAutoRefresh(intervalTime = 2000) { if (interval) clearInterval(interval); interval = setInterval(() => { if (currentChatId) loadChat(currentChatId, null, null, false);