Prevents silent peer candidates from starving selected/SFU fallback while preserving one room-serial operation and one total deadline.
10 lines
410 B
Plaintext
10 lines
410 B
Plaintext
# Install as /etc/systemd/system/screener.service.d/livekit-readiness.conf only
|
|
# when this Screener instance is configured with the same-host LiveKit owner.
|
|
|
|
[Unit]
|
|
Wants=livekit.service
|
|
After=livekit.service
|
|
|
|
[Service]
|
|
ExecStartPre=/bin/sh -c 'attempt=0; until curl -sS --max-time 1 -o /dev/null http://127.0.0.1:7880 2>/dev/null; do attempt=$((attempt + 1)); [ "$attempt" -ge 30 ] && exit 1; sleep 1; done'
|