reduce timer of ws
This commit is contained in:
parent
8ac9e8f7a9
commit
1dc6376c9c
@ -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);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user