server: use port 9931 by default (#30159)

* server: use port 9931 by default

* revert unrelated changes
This commit is contained in:
Xuan-Son Nguyen authored and GitHub committed 2026-10-09 10:40:03 +02:00
1 parent b013e56a71
commit b42b7e6d30
40 files changed
+68 -66

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ import {Counter, Rate, Trend} from 'k6/metrics'
import exec from 'k6/execution';
// Server chat completions prefix
const server_url = __ENV.SERVER_BENCH_URL ? __ENV.SERVER_BENCH_URL : 'http://localhost:8080/v1'
const server_url = __ENV.SERVER_BENCH_URL ? __ENV.SERVER_BENCH_URL : 'http://localhost:9931/v1'
// Number of total prompts in the dataset - default 10m / 10 seconds/request * number of users
const n_prompt = __ENV.SERVER_BENCH_N_PROMPTS ? parseInt(__ENV.SERVER_BENCH_N_PROMPTS) : 600 / 10 * 8