diff --git a/orchestrator/builder/bee.sh b/orchestrator/builder/bee.sh index 03264c4..3bd6570 100755 --- a/orchestrator/builder/bee.sh +++ b/orchestrator/builder/bee.sh @@ -215,10 +215,10 @@ if [ -z "$QUEEN_CONTAINER_IN_DOCKER" ] || $EPHEMERAL ; then $EXTRA_QUEEN_PARAMS \ $DOCKER_IMAGE \ start \ - --warmup-time=10 \ + --warmup-time=10s \ --password "$BEE_PASSWORD" \ --bootnode="$QUEEN_BOOTNODE" \ - --bootnode-mode=true \ + --bootnode-mode=false \ --verbosity=4 \ --mainnet=false \ --block-time=5 \ @@ -267,7 +267,7 @@ for i in $(seq 1 1 "$WORKERS"); do $EXTRA_WORKER_PARAMS \ $DOCKER_IMAGE \ start \ - --warmup-time=10 \ + --warmup-time=10s \ --password "$BEE_PASSWORD" \ --bootnode="$QUEEN_UNDERLAY_ADDRESS" \ --verbosity=4 \ diff --git a/src/utils/docker.ts b/src/utils/docker.ts index f5b9db3..92c48d3 100644 --- a/src/utils/docker.ts +++ b/src/utils/docker.ts @@ -503,7 +503,7 @@ export class Docker { private createBeeEnvParameters(bootnode?: string): string[] { const options: Record = { - 'warmup-time': '10', + 'warmup-time': '10s', 'debug-api-enable': 'true', verbosity: '4', 'swap-enable': 'true', @@ -526,7 +526,7 @@ export class Docker { if (bootnode) { options.bootnode = bootnode } else { - options['bootnode-mode'] = 'true' + options['bootnode-mode'] = 'false' } // Env variables for Bee has form of `BEE_WARMUP_TIME`, so we need to transform it.