Using with AWS Lambda #10184
Unanswered
sajithneyo
asked this question in
Q&A
Replies: 1 comment 3 replies
-
@sajithneyo no, You may want to try reducing |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I think it's better to have correct documentation about how to use mongoose in an AWS Lambda environment. Especially when using useUnifiedTopology true and false. The document https://mongoosejs.com/docs/lambda.html does not feel updated.
Also, can someone shed some light on this? I used bellow settings with useUnifiedTopology true and it worked fine a few months ago (November 2020).
But the traffic increased recently and now the max connections limit is hit often. Need to know what has changed since then as I did not work on that project until now.
I see a StackOverflow Q https://stackoverflow.com/questions/60257296/setting-buffercommands-to-false-not-working-in-mongoosejs that says
bufferMaxEntries: 0
is now deprecated withuseUnifiedTopology: true
. Does that have an effect?Beta Was this translation helpful? Give feedback.
All reactions