Skip to content
Snippets Groups Projects
Commit 0befd492 authored by Maksim Kaitmazian's avatar Maksim Kaitmazian
Browse files

fix(pgproto): statement storage used to use portal storage properties

parent f70ac5b4
No related branches found
No related tags found
1 merge request!1140refactor(pgproto): increase storage limits
Pipeline #45292 failed
......@@ -112,7 +112,7 @@ impl StatementStorage {
Ok(node) => &node.storage,
Err(_) => return Self::with_capacity(DEFAULT_MAX_PG_STATEMENTS),
};
match storage.properties.max_pg_portals() {
match storage.properties.max_pg_statements() {
Ok(size) => Self::with_capacity(size),
Err(_) => Self::with_capacity(DEFAULT_MAX_PG_STATEMENTS),
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment