Hacker News new | ask | show | jobs
by gtirloni 2984 days ago
I think your approach is fine for local dev servers.

Maybe just introduce something like an exponential backoff algorithm if you start getting too many 5xx errors or the requests are hanging.