fix: adding default to NUM_NWAKU_NODES in traffic script

This commit is contained in:
Gabriel Mermelstein 2023-11-10 16:46:10 +02:00
parent 909bc425fc
commit 1b3ad2c9ab
No known key found for this signature in database
GPG Key ID: 306734DDCE542DCD

View File

@ -67,7 +67,7 @@ services:
dockerfile: Dockerfile.rest-traffic
command: >
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}
--delay-seconds=${TRAFFIC_DELAY_SECONDS:-15}
volumes: