fix: correct default limits
parent
e4179605df
commit
afdc008855
|
@ -28,9 +28,9 @@ const SHARED_QUERY_POOL: &str = SHARED_TOPIC_NAME;
|
|||
const TIME_COLUMN: &str = "time";
|
||||
|
||||
/// Default per-namespace table count service protection limit.
|
||||
const DEFAULT_MAX_TABLES: i32 = 1000;
|
||||
pub const DEFAULT_MAX_TABLES: i32 = 10_000;
|
||||
/// Default per-table column count service protection limit.
|
||||
const DEFAULT_MAX_COLUMNS_PER_TABLE: i32 = 200;
|
||||
pub const DEFAULT_MAX_COLUMNS_PER_TABLE: i32 = 200;
|
||||
|
||||
/// A string value representing an infinite retention policy.
|
||||
pub const INFINITE_RETENTION_POLICY: &str = "inf";
|
||||
|
|
|
@ -223,8 +223,8 @@ mod tests {
|
|||
retention_duration: Some("inf".to_owned()),
|
||||
topic_id: TopicId::new(42),
|
||||
query_pool_id: QueryPoolId::new(42),
|
||||
max_tables: 10000,
|
||||
max_columns_per_table: 1000,
|
||||
max_tables: iox_catalog::DEFAULT_MAX_TABLES,
|
||||
max_columns_per_table: iox_catalog::DEFAULT_MAX_COLUMNS_PER_TABLE,
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue