You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(cubesql): Increase limits for statements/portals/cursors (cube-js#5146)
I've implemented these limits to protect against possible memory leaks because at the beginning of SQL API we didn't implement: discard/deallocate/transactions. Right now, it's safe to increase these limits
- Prepared statements: 128, because some PG clients use the local map to parse statements once, and then it reuses them while a connection is still alive.
- Cursors: 16, because by default it lives inside a transaction. Some clients can use WITH HOLD to use it without a transaction.
- Portals: 64, because It's a too large object, and it should be closed after usage. Previously it was 15, but let's give it a try.
0 commit comments