dcache/launch.sh
Aravinth Manivannan bebab4c8a5
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
feat: conn pool no pipeline
note: lost previous benchmarks, so redoing
2023-12-26 18:38:06 +05:30

8 lines
480 B
Bash
Executable file

#!/bin/bash
nohup ./target/release/main --id 1 --http-addr 127.0.0.1:9001 --introducer-addr 127.0.0.1:9001 --introducer-id 1 --cluster-size 3 &
sleep 1
nohup ./target/release/main --id 2 --http-addr 127.0.0.1:9002 --introducer-addr 127.0.0.1:9001 --introducer-id 1 --cluster-size 3 &
sleep 1
nohup ./target/release/main --id 3 --http-addr 127.0.0.1:9003 --introducer-addr 127.0.0.1:9001 --introducer-id 1 --cluster-size 3 &
read -p "Continue? (Y/N): " confirm && killall main