diff --git a/src/v/config/configuration.cc b/src/v/config/configuration.cc index 5a34d667fe961..e960f051c38e9 100644 --- a/src/v/config/configuration.cc +++ b/src/v/config/configuration.cc @@ -104,7 +104,8 @@ configuration::configuration() {.needs_restart = needs_restart::no, .example = "600000", .visibility = visibility::tunable}, - 10min) + 10min, + {.min = 0ms}) , log_segment_ms_max( *this, "log_segment_ms_max", @@ -113,7 +114,8 @@ configuration::configuration() {.needs_restart = needs_restart::no, .example = "31536000000", .visibility = visibility::tunable}, - 24h * 365) + 24h * 365, + {.min = 0ms}) , rpc_server_listen_backlog( *this, "rpc_server_listen_backlog", diff --git a/src/v/config/configuration.h b/src/v/config/configuration.h index 1efc6a9aca3ac..7320c22d8707c 100644 --- a/src/v/config/configuration.h +++ b/src/v/config/configuration.h @@ -52,8 +52,8 @@ struct configuration final : public config_store { bounded_property compacted_log_segment_size; property readers_cache_eviction_timeout_ms; bounded_property> log_segment_ms; - property log_segment_ms_min; - property log_segment_ms_max; + bounded_property log_segment_ms_min; + bounded_property log_segment_ms_max; // Network bounded_property> rpc_server_listen_backlog;