Supress clang-tidy warnings
This commit is contained in:
parent
151e1cf62b
commit
0a27e75647
@ -227,8 +227,11 @@ DEFINE_VALIDATED_uint64(storage_wal_file_flush_every_n_tx,
|
|||||||
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
|
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
|
||||||
DEFINE_bool(storage_snapshot_on_exit, false, "Controls whether the storage creates another snapshot on exit.");
|
DEFINE_bool(storage_snapshot_on_exit, false, "Controls whether the storage creates another snapshot on exit.");
|
||||||
|
|
||||||
|
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
|
||||||
DEFINE_uint64(storage_items_per_batch, memgraph::storage::Config::Durability().items_per_batch,
|
DEFINE_uint64(storage_items_per_batch, memgraph::storage::Config::Durability().items_per_batch,
|
||||||
"The number of edges and vertices stored in a batch in a snapshot file.");
|
"The number of edges and vertices stored in a batch in a snapshot file.");
|
||||||
|
|
||||||
|
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
|
||||||
DEFINE_uint64(storage_recovery_thread_count,
|
DEFINE_uint64(storage_recovery_thread_count,
|
||||||
std::max(static_cast<uint64_t>(std::thread::hardware_concurrency()),
|
std::max(static_cast<uint64_t>(std::thread::hardware_concurrency()),
|
||||||
memgraph::storage::Config::Durability().recovery_thread_count),
|
memgraph::storage::Config::Durability().recovery_thread_count),
|
||||||
|
Loading…
Reference in New Issue
Block a user