Skip to content

Commit

Permalink
chore: update benchmark scripts
Browse files Browse the repository at this point in the history
Signed-off-by: iGxnon <igxnon@gmail.com>
  • Loading branch information
iGxnon committed Mar 5, 2024
1 parent 210a119 commit affd362
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,11 @@ run_xline() {
--client-wait-synced-timeout 10s \
--client-propose-timeout 5s \
--batch-timeout 1ms \
--cmd-workers 16"
--cmd-workers 16 \
--client-listen-urls http://${SERVERS[$1]}:2379 \
--peer-listen-urls http://${SERVERS[$1]}:2380 \
--client-advertise-urls http://${SERVERS[$1]}:2379 \
--peer-advertise-urls http://${SERVERS[$1]}:2380"

if [ ${1} -eq 1 ]; then
cmd="${cmd} --is-leader"
Expand Down

0 comments on commit affd362

Please sign in to comment.