Skip to content
Snippets Groups Projects
Commit 1244378d authored by ordian's avatar ordian Committed by GitHub
Browse files

parachain_db: fix incorrect config cache sizes (#2827)

parent fa0142ac
No related merge requests found
......@@ -51,7 +51,7 @@ pub const REAL_COLUMNS: ColumnsConfig = ColumnsConfig {
col_approval_data: columns::COL_APPROVAL_DATA,
};
/// The cache size for each column, in bytes.
/// The cache size for each column, in megabytes.
#[derive(Debug, Clone)]
pub struct CacheSizes {
/// Cache used by availability data.
......@@ -65,9 +65,9 @@ pub struct CacheSizes {
impl Default for CacheSizes {
fn default() -> Self {
CacheSizes {
availability_data: 25 * 1024 * 1024,
availability_meta: 512 * 1024,
approval_data: 5 * 1024 * 1024,
availability_data: 25,
availability_meta: 1,
approval_data: 5,
}
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment