diff --git a/.github/v.sh b/.github/v.sh index 5a598dbd..8b02b3b1 100755 --- a/.github/v.sh +++ b/.github/v.sh @@ -5,9 +5,6 @@ sudo apt-get install -y libgc-dev git clone https://github.com/vlang/v /tmp/vlang cd /tmp/vlang -pushd vlib/vweb -cat vweb.v | sed "s/\bprintln('\[Vweb\] Running/eprintln('[Vweb] Running/" > temp.v && mv temp.v vweb.v -popd make && ./v -version ./v symlink v --version diff --git a/bench/algorithm/http-server/1.v b/bench/algorithm/http-server/1.v index 8e1aab91..86b1c8be 100644 --- a/bench/algorithm/http-server/1.v +++ b/bench/algorithm/http-server/1.v @@ -13,7 +13,7 @@ fn main() { n = strconv.atoi(os.args[1]) or { 10 } } port := int(rand.u32_in_range(20000, 50000) or { 23333 }) - spawn vweb.run(&App{}, port) + spawn vweb.run_at(&App{}, port: port, show_startup_message: false) url := 'http://localhost:${port}/api' mut ch := chan int{cap: n} for i in 1 .. (n + 1) {