fix: adding default to NUM_NWAKU_NODES in traffic script (#14)

This commit is contained in:
gabrielmer 2023-11-13 16:39:17 +02:00 committed by GitHub
parent 909bc425fc
commit 054ba9e33f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ services:
dockerfile: Dockerfile.rest-traffic dockerfile: Dockerfile.rest-traffic
command: > command: >
python /opt/traffic.py python /opt/traffic.py
--multiple-nodes=http://waku-simulator_nwaku_[1..$NUM_NWAKU_NODES]:8645 --multiple-nodes=http://waku-simulator_nwaku_[1..${NUM_NWAKU_NODES:-5}]:8645
--msg-size-kbytes=${MSG_SIZE_KBYTES:-10} --msg-size-kbytes=${MSG_SIZE_KBYTES:-10}
--delay-seconds=${TRAFFIC_DELAY_SECONDS:-15} --delay-seconds=${TRAFFIC_DELAY_SECONDS:-15}
volumes: volumes: