James Washington
writing about archive utils free game ideas replays
Technique

Uptime Kuma long-interval timeout overflow

A monitoring tool reports false outages for hourly checks unless you set a timeout.

Hard-won lessons

how it works

Interval >=3600s with default timeout overflows Node setTimeout and aborts instantly; always set an explicit timeout.

Technique: A pattern or hard-won lesson, written down so it isn't learned twice.

The code for this one lives in a private repo. This page explains the idea so you can build your own.

monitoringnodetechnique
← everything I've built
© 2026 James Washington
github twitter rss