From 0ad2ed65135debe2bf73aa3246a35cd4c2a8a888 Mon Sep 17 00:00:00 2001 From: Charlotte Som Date: Wed, 27 Nov 2024 04:16:40 +0000 Subject: [PATCH] run jetstream on while loop so it restarts --- jetstream/run.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jetstream/run.sh b/jetstream/run.sh index de88a14..75d943b 100755 --- a/jetstream/run.sh +++ b/jetstream/run.sh @@ -1,3 +1,5 @@ #!/usr/bin/env bash -./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" +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" +done