Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
polkadot
Commits
e6335b62
Unverified
Commit
e6335b62
authored
Apr 06, 2021
by
Andronik Ordian
Committed by
GitHub
Apr 06, 2021
Browse files
parachain_db: fix incorrect config cache sizes (#2827)
parent
417999f2
Pipeline
#132888
canceled with stages
in 5 minutes and 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
node/service/src/parachains_db.rs
View file @
e6335b62
...
...
@@ -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
mega
bytes.
#[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
,
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment