From bb529b43c00116e033ecff58badb7ac0513e250f Mon Sep 17 00:00:00 2001 From: nurullah Date: Mon, 3 Nov 2025 12:35:33 +0600 Subject: [PATCH] webhook 55s update --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index a6dd327..9f9150b 100644 --- a/index.js +++ b/index.js @@ -45,9 +45,10 @@ app.get("/test-db", async (req, res) => { app.get("/test-webhook", (req, res) => { // 3 minutes = 3 × 60 × 1000 = 180000 milliseconds + // 55 sec = 55*1000 = 55000 milliseconds setTimeout(() => { res.status(200).send({ message: "Webhook received after 3 minutes!" }); - }, 180000); + }, 55000); }); const PORT = process.env.PORT || 4000;