aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--index.ts5
-rw-r--r--lib/health.ts2
2 files changed, 1 insertions, 6 deletions
diff --git a/index.ts b/index.ts
index 328c453f..9ce509c2 100644
--- a/index.ts
+++ b/index.ts
@@ -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) {