reduce timer of ws

This commit is contained in:
MuslemRahimi 2024-10-17 15:40:45 +02:00
parent 8ac9e8f7a9
commit 1dc6376c9c

View File

@ -211,7 +211,7 @@ fastify.register(async function (fastify) {
isSend = true; isSend = true;
setTimeout(() => { setTimeout(() => {
isSend = false; isSend = false;
}, 4000); }, 1000);
} }
} catch (error) { } catch (error) {
console.error("Error parsing JSON:", error); console.error("Error parsing JSON:", error);