mirror of
https://github.com/screentinker/screentinker.git
synced 2026-05-15 07:32:23 -06:00
Make HEARTBEAT_INTERVAL and HEARTBEAT_TIMEOUT env-tunable so self-hosters with slow/jittery networks don't have to edit config.js (issue #3 reporter did exactly this to confirm the diagnosis). Defaults unchanged at 10000ms / 45000ms so existing deployments keep current behavior. Same parseInt(env) || default pattern as PORT/HTTPS_PORT/PING_*. README env table extended. Refs #3 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| config | ||
| db | ||
| lib | ||
| middleware | ||
| player | ||
| routes | ||
| services | ||
| ws | ||
| .gitignore | ||
| config.js | ||
| package-lock.json | ||
| package.json | ||
| server.js | ||