From 1dc6376c9ca8b0d6394a2a337784c9a47940c124 Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Thu, 17 Oct 2024 15:40:45 +0200 Subject: [PATCH] reduce timer of ws --- fastify/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastify/app.js b/fastify/app.js index 2e29878..3bb6891 100755 --- a/fastify/app.js +++ b/fastify/app.js @@ -211,7 +211,7 @@ fastify.register(async function (fastify) { isSend = true; setTimeout(() => { isSend = false; - }, 4000); + }, 1000); } } catch (error) { console.error("Error parsing JSON:", error);