Skip to content

Use env variable to set max memory limit and instance number #32

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

Merged
merged 1 commit into from
Dec 29, 2021

Conversation

pshaddel
Copy link
Contributor

@pshaddel pshaddel commented Dec 29, 2021

Max memory limit could be different based on the lambda resolver and sometimes it needs more memory so we should be able to set this via a environment variable.
The same is true for number of instances that PM2 creates.

Discussion on Dgraph

Max memory limit could be different based on the lambda resolver and sometimes it needs more memory so we should be able to set this via a environment variable.
The same is true for number of instances that PM2 creates.
@CLAassistant
Copy link

CLAassistant commented Dec 29, 2021

CLA assistant check
All committers have signed the CLA.

Copy link

@ahsanbarkati ahsanbarkati left a comment

Choose a reason for hiding this comment

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

This change looks good to me.

@danielmai
Copy link
Contributor

Thanks for the PR, @pshaddel. And thanks for the review, @ahsanbarkati.

@danielmai
Copy link
Contributor

@pshaddel Once the CLA is signed it's good to merge.

@pshaddel
Copy link
Contributor Author

@pshaddel Once the CLA is signed it's good to merge.

All done :)

@danielmai danielmai merged commit 1c8f4f9 into dgraph-io:master Dec 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants