Skip to content

feat(hana): destroy connections that have exceeded the max statement count#1506

Open
sjvans wants to merge 2 commits intomainfrom
max-statement-count
Open

feat(hana): destroy connections that have exceeded the max statement count#1506
sjvans wants to merge 2 commits intomainfrom
max-statement-count

Conversation

@sjvans
Copy link
Copy Markdown
Contributor

@sjvans sjvans commented Feb 17, 2026

instead of dropping all prepared statements on commit/ rollback, we count the number of prepared statements per connection and destroy instead of release that connection in case it accumulated more than the max allowed number of statements over its lifetime.

Comment thread hana/lib/HANAService.js
Comment on lines +40 to +42

// TODO: remove
this.options._max_statement_count = 10
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// TODO: remove
this.options._max_statement_count = 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant