Default autostart update-check interval to 1 minute
The no-change path is a single `git fetch`, so polling master every minute costs nothing and lines up with the VPS's own 60s deploy timer instead of lagging it by up to five. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
8aeb9cea81
commit
b44416e8eb
@@ -11,11 +11,13 @@
|
||||
# session, which is not incidental: the clicker synthesises real X11 input and
|
||||
# needs a desktop with DISPLAY set. A systemd system service has neither.
|
||||
#
|
||||
# ./scripts/install-autostart.sh [--interval-minutes 5] [--skip-clicker]
|
||||
# ./scripts/install-autostart.sh [--interval-minutes 1] [--skip-clicker]
|
||||
set -euo pipefail
|
||||
|
||||
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
INTERVAL=5
|
||||
# Default 1: the no-change path is a single `git fetch`, so a per-minute check
|
||||
# costs nothing and matches the VPS's own 60s deploy timer.
|
||||
INTERVAL=1
|
||||
SKIP_CLICKER=0
|
||||
|
||||
while [ $# -gt 0 ]; do
|
||||
|
||||
Reference in New Issue
Block a user