Skip to content

Commit

Permalink
fixup! Rename types to use proper PascalCase
Browse files Browse the repository at this point in the history
  • Loading branch information
richardpringle committed May 16, 2023
1 parent 2644149 commit 2f951d6
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions fwdctl/src/create.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,45 +172,45 @@ pub struct Options {
long,
required = false,
default_value_t = 256,
value_name = "DISK_BUFFER_Wal_MAX_AIO_REQUESTS",
help = "Maximum number of concurrent async I/O requests in Wal."
value_name = "DISK_BUFFER_WAL_MAX_AIO_REQUESTS",
help = "Maximum number of concurrent async I/O requests in WAL."
)]
wal_max_aio_requests: usize,

#[arg(
long,
required = false,
default_value_t = 1024,
value_name = "DISK_BUFFER_Wal_MAX_BUFFERED",
help = "Maximum buffered Wal records."
value_name = "DISK_BUFFER_WAL_MAX_BUFFERED",
help = "Maximum buffered WAL records."
)]
wal_max_buffered: usize,

#[arg(
long,
required = false,
default_value_t = 4096,
value_name = "DISK_BUFFER_Wal_MAX_BATCH",
help = "Maximum batched Wal records per write."
value_name = "DISK_BUFFER_WAL_MAX_BATCH",
help = "Maximum batched WAL records per write."
)]
wal_max_batch: usize,

/// Wal Config
/// WAL Config
#[arg(
long,
required = false,
default_value_t = 22,
value_name = "Wal_FILE_NBIT",
help = "Size of Wal file."
value_name = "WAL_FILE_NBIT",
help = "Size of WAL file."
)]
file_nbit: u64,

#[arg(
long,
required = false,
default_value_t = 15,
value_name = "Wal_BLOCK_NBIT",
help = "Size of Wal blocks."
value_name = "WAL_BLOCK_NBIT",
help = "Size of WAL blocks."
)]
block_nbit: u64,

Expand Down

0 comments on commit 2f951d6

Please sign in to comment.