-
Notifications
You must be signed in to change notification settings - Fork 5
feat(pg): add cfg memory control to driver BED-7082 #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughThe changes introduce a configurable graph query memory limit parameter that propagates through the PostgreSQL driver initialization stack, replacing a previously hardcoded constant with a dynamically configurable value throughout the driver hierarchy. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (4)
🧰 Additional context used🧠 Learnings (1)📚 Learning: 2025-06-27T15:32:33.244ZApplied to files:
🧬 Code graph analysis (2)drivers/pg/pg.go (1)
drivers/pg/driver.go (1)
🔇 Additional comments (7)
Comment |
StephenHinck
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed that this works fantastically!
Description
Plumb memory limit config support for the postgres driver
Motivation and Context
Currently pg driver hardcodes the memory limit for queries to 1Gb
Resolves BED-7082
How Has This Been Tested?
Updated
build.config.jsonon BHE side and verified the limit was reflected in dawgs queriesScreenshots (if appropriate):
Types of changes
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.