Skip to content

Commit c229ea9

Browse files
committed
Update README and don't try to handle missing pulse if we didn't received any pulse at all
1 parent eaba2c2 commit c229ea9

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,8 @@ pass = ""
9292
### Manual Pulse Sending
9393

9494
```bash
95-
# Send a successful pulse
96-
curl -X GET http://localhost:3000/v1/push/:token?status=up&latency=15.10
97-
98-
# Send a failure pulse
99-
curl -X GET http://localhost:3000/v1/push/:token?status=down
95+
# Send a pulse with latency
96+
curl -X GET http://localhost:3000/v1/push/:token?latency=15.10
10097
```
10198

10299
### Automated Pulse Sending

src/missing-pulse-detector.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,6 @@ export class MissingPulseDetector {
9090
timeSinceStartup: Math.round(timeSinceStartup / 1000) + "s",
9191
gracePeriod: GRACE_PERIOD / 1000 + "s",
9292
});
93-
94-
await this.handleMissingPulse(monitor, timeSinceStartup, expectedInterval);
9593
}
9694
return;
9795
}

0 commit comments

Comments
 (0)