-
Notifications
You must be signed in to change notification settings - Fork 224
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
EDSC-4292: Adds label to Harmony orders #1828
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1828 +/- ##
===========================================
+ Coverage 70.54% 93.44% +22.89%
===========================================
Files 770 770
Lines 18596 18600 +4
Branches 4766 4799 +33
===========================================
+ Hits 13119 17381 +4262
+ Misses 4946 1136 -3810
+ Partials 531 83 -448 ☔ View full report in Codecov by Sentry. |
if (process.env.IS_OFFLINE) { | ||
// When running locally set the pool min to 0 to avoid idle connections | ||
pool.min = 0 | ||
} |
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.
Was this the solution to the sorry, too many clients already
error we'd run into locally sometimes?
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.
Yep. it has been driving me crazy recently, and I've been copying this change to all my branches and I haven't seen it in a while
Overview
What is the feature?
Adding two labels to Harmony orders in order for the Harmony team to track EDSC orders and group large orders that we split into multiple Harmony orders.
Also fixed the annoying database problem in dev where we say "sorry, too many clients already" by forcing idle connections to be disconnected.
What areas of the application does this impact?
Harmony orders
Testing
Reproduction steps
Submit a harmony order, check the labels added
Checklist