Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/analyst-tunnel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ port=${FF_DB_LOCAL_PORT:-15432}
ip=$(ssh -o BatchMode=yes "$FF_DB_SSH" \
"docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}} {{end}}' $container" | cut -d' ' -f1)
echo "tunnel 127.0.0.1:$port -> $container ($ip:5432); Ctrl-C to close"
exec ssh -o BatchMode=yes -o ExitOnForwardFailure=yes -N -L "$port:$ip:5432" "$FF_DB_SSH"
exec ssh -o BatchMode=yes -o ExitOnForwardFailure=yes -o ServerAliveInterval=30 -N -L "$port:$ip:5432" "$FF_DB_SSH"
3 changes: 3 additions & 0 deletions scripts/serve_flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,4 +205,7 @@
schedules=[CronSchedule(cron="*/15 * * * *", timezone=LON)],
parameters={"batch_size": 18},
),
# Coolify starts the new container before stopping the old one; pausing on
# shutdown would pause the schedules the new runner just registered.
pause_on_shutdown=False,
)