summaryrefslogtreecommitdiff
path: root/internal/certbot/certbot.go
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-09-02 21:53:45 -0500
committerClaude <noreply@anthropic.com>2026-09-02 21:53:45 -0500
commit09b35fe0564cefa304f5460e2bf95420e9f3ed96 (patch)
tree67b8a854fcc51c80a999e933b346d23420c3a015 /internal/certbot/certbot.go
parent76c238741e845eec94973a4c280449c072fad93d (diff)
Rate-limit the app process restart instead of hot-loopingHEADmaster
daemon -r restarts immediately with no delay - a genuinely broken deploy (crashes on every start) would hot-loop as fast as the kernel can fork/exec, burning CPU and flooding syslog. -R 5 restarts with a 5s gap instead, matching both Heroku's dyno manager (backs off a repeatedly- crashing dyno rather than hammering it) and dvd.club's own pre-skiff rc.d script, which already used -R 5 before this template replaced it. Verified on the VM: killed the app process directly, confirmed it stayed down through the 1s and 4s marks and was back by 7s - not an immediate restart. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Diffstat (limited to 'internal/certbot/certbot.go')
0 files changed, 0 insertions, 0 deletions