Skip to content

Commit

Permalink
set default value of lightweight mode = false (#2704)
Browse files Browse the repository at this point in the history
  • Loading branch information
imabdulbasit authored Feb 28, 2025
1 parent 1064a6a commit 67f0c0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions sequencer/src/api/sql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ impl SequencerDataSource for DataSource {
}

if opt.lightweight {
tracing::warn!("enabling light weight mode..");
builder = builder.leaf_only();
}

Expand Down
1 change: 1 addition & 0 deletions sequencer/src/persistence/sql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ pub struct Options {
#[clap(
long,
env = "ESPRESSO_SEQUENCER_LIGHTWEIGHT",
default_value_t = false,
conflicts_with = "archive"
)]
pub(crate) lightweight: bool,
Expand Down

0 comments on commit 67f0c0d

Please sign in to comment.