Skip to content

Commit

Permalink
fix: set bootnode false and warmup time
Browse files Browse the repository at this point in the history
  • Loading branch information
nugaon committed Oct 31, 2024
1 parent 3c8cc19 commit 1c96887
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions orchestrator/builder/bee.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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 \
Expand Down
4 changes: 2 additions & 2 deletions src/utils/docker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ export class Docker {

private createBeeEnvParameters(bootnode?: string): string[] {
const options: Record<string, string> = {
'warmup-time': '10',
'warmup-time': '10s',
'debug-api-enable': 'true',
verbosity: '4',
'swap-enable': 'true',
Expand All @@ -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.
Expand Down

0 comments on commit 1c96887

Please sign in to comment.