Skip to content
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

fix: move db connection outside handler, too many open files #1194

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

3benbox
Copy link
Contributor

@3benbox 3benbox commented Apr 19, 2024

During load testing on CAS, we're getting error "EMFILE: too many files open".

@3benbox 3benbox requested review from gvelez17 and smrz2001 April 19, 2024 14:24
Copy link
Contributor

@smrz2001 smrz2001 left a comment

Choose a reason for hiding this comment

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

🚀

@gvelez17
Copy link
Contributor

Great catch! Have we tested it?

@3benbox
Copy link
Contributor Author

3benbox commented Apr 19, 2024

Great catch! Have we tested it?

It's running on dev now.

@gvelez17
Copy link
Contributor

um - won't the next time we merge to develop automatically deploy develop branch to dev-cas - i think if its already running on dev cas we should def merge this?

@smrz2001
Copy link
Contributor

um - won't the next time we merge to develop automatically deploy develop branch to dev-cas - i think if its already running on dev cas we should def merge this?

We never had CD for CAS Auth unfortunately. Whenever we merge this, the CD will run but that just deploys regular CAS code, not Auth code. We'll have to manually deploy the Lambda to all the envs.

@gvelez17
Copy link
Contributor

per Mohson we are not affecting the anchoring in this pr, force-merging

@gvelez17 gvelez17 merged commit 9ba2fce into develop Apr 26, 2024
5 checks passed
@gvelez17 gvelez17 deleted the fix/casu-authorizer-too-many-open-files branch April 26, 2024 15:17
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.

3 participants