run jetstream on while loop so it restarts

This commit is contained in:
Charlotte Som 2024-11-27 04:16:40 +00:00
parent 099af0b9ce
commit 0ad2ed6513

View file

@ -1,3 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
while :; do
./src/jetstream --ws-url 'ws://127.0.0.1:3000/xrpc/com.atproto.sync.subscribeRepos' --liveness-ttl 10000m --listen-addr "127.0.0.1:6008" --metrics-listen-addr "127.0.0.1:6009" ./src/jetstream --ws-url 'ws://127.0.0.1:3000/xrpc/com.atproto.sync.subscribeRepos' --liveness-ttl 10000m --listen-addr "127.0.0.1:6008" --metrics-listen-addr "127.0.0.1:6009"
done