We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a10e61f commit e5d76bbCopy full SHA for e5d76bb
Tools/CI/rust.sh
@@ -15,13 +15,5 @@ cargo run --example ngo_echo_server -- --port $ECHO_SERVER_PORT &
15
# Build the standalone server
16
cargo build
17
18
-# Run the standalone server loop in the background
19
-runstandalone &
20
-
21
-# Use a function to run the standalone server in a loop, when it exits, it will always restart
22
-runstandalone() {
23
- while :; do
24
- # loop infinitely
25
- cargo run -- --metrics-port 5000 standalone --port $COMB_SERVER_PORT -t 10m
26
- done
27
-}
+# Run the standalone server on an infinite loop in the background
+while :; do cargo run -- --metrics-port 5000 standalone --port $COMB_SERVER_PORT -t 10m done &
0 commit comments