Mark nudb_block_size as experimental in configuration documentation

Add clear warning that nudb_block_size is an experimental feature that may
affect database performance and stability, as suggested in code review.
This commit is contained in:
Valon Mamudi
2025-08-12 17:37:21 +02:00
parent b3bc48999b
commit 4d7173b5d9
2 changed files with 6 additions and 2 deletions

View File

@@ -977,10 +977,14 @@
#
# Optional keys for NuDB only:
#
# nudb_block_size Block size in bytes for NuDB storage.
# nudb_block_size EXPERIMENTAL: Block size in bytes for NuDB storage.
# Must be a power of 2 between 4096 and 32768.
# Default is 4096.
#
# WARNING: This is an experimental feature that may
# affect database performance and stability. Use with
# caution in production environments.
#
# This parameter controls the fundamental storage unit
# size for NuDB's internal data structures. The choice
# of block size can significantly impact performance

View File

@@ -92,7 +92,7 @@ private:
// Helper function to test log messages
void
testLogMessage(Section const& params, beast::severities::Level level,
testLogMessage(Section const& params, beast::severities::Severity level,
std::string const& expectedMessage)
{
test::StreamSink sink(level);