Skip to content

Commit 1c96887

Browse files
committed
fix: set bootnode false and warmup time
1 parent 3c8cc19 commit 1c96887

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

orchestrator/builder/bee.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,10 @@ if [ -z "$QUEEN_CONTAINER_IN_DOCKER" ] || $EPHEMERAL ; then
215215
$EXTRA_QUEEN_PARAMS \
216216
$DOCKER_IMAGE \
217217
start \
218-
--warmup-time=10 \
218+
--warmup-time=10s \
219219
--password "$BEE_PASSWORD" \
220220
--bootnode="$QUEEN_BOOTNODE" \
221-
--bootnode-mode=true \
221+
--bootnode-mode=false \
222222
--verbosity=4 \
223223
--mainnet=false \
224224
--block-time=5 \
@@ -267,7 +267,7 @@ for i in $(seq 1 1 "$WORKERS"); do
267267
$EXTRA_WORKER_PARAMS \
268268
$DOCKER_IMAGE \
269269
start \
270-
--warmup-time=10 \
270+
--warmup-time=10s \
271271
--password "$BEE_PASSWORD" \
272272
--bootnode="$QUEEN_UNDERLAY_ADDRESS" \
273273
--verbosity=4 \

src/utils/docker.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ export class Docker {
503503

504504
private createBeeEnvParameters(bootnode?: string): string[] {
505505
const options: Record<string, string> = {
506-
'warmup-time': '10',
506+
'warmup-time': '10s',
507507
'debug-api-enable': 'true',
508508
verbosity: '4',
509509
'swap-enable': 'true',
@@ -526,7 +526,7 @@ export class Docker {
526526
if (bootnode) {
527527
options.bootnode = bootnode
528528
} else {
529-
options['bootnode-mode'] = 'true'
529+
options['bootnode-mode'] = 'false'
530530
}
531531

532532
// Env variables for Bee has form of `BEE_WARMUP_TIME`, so we need to transform it.

0 commit comments

Comments
 (0)