diff options
| -rw-r--r-- | index.ts | 5 | ||||
| -rw-r--r-- | lib/health.ts | 2 |
2 files changed, 1 insertions, 6 deletions
@@ -198,11 +198,6 @@ app.get("/replay/:index", (req, res) => { res.send({}); }); -app.post("/echo", (req, res) => { - console.log("echo", req.body); - res.send(req.body); -}); - const host: string = process.env["HOST"] || "0.0.0.0"; const port: number = Number.parseInt(process.env["PORT"]) || 3119; diff --git a/lib/health.ts b/lib/health.ts index bb05b0db..96d15030 100644 --- a/lib/health.ts +++ b/lib/health.ts @@ -93,7 +93,7 @@ async function checkLightningHealth(): Promise<boolean> { try { const waiting = await withTimeout( ln.waitanyinvoice(payIndex, 1), - 5_000, + 15_000, "listener backlog probe", ); if (Number(waiting?.pay_index) > payIndex) { |
