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

configuring initial perDayLimit via cmdline/env-var, to reduce ops #707

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

itaru2622
Copy link
Contributor

@itaru2622 itaru2622 commented Jul 25, 2024

fix #684

This PR supports you to configure initial value of perDayLimit via commandline or environment variable, to reduce ops.

cmdline option:  --newpds-perday-limit N
env var:  RELAY_NEWPDS_PERDAY_LIMIT=N

the above ops takes efforts only when the the value is not configured before.
so there is no bad side-effect on your existing parameters, nor your runtime ops.

if both of cmdline option and env var are not specified at first deployment, default value 10 is passed by cli.Context

@itaru2622
Copy link
Contributor Author

@bnewbold , maintainers could you review this PR, please

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.

initial value of perDayLimit (0) causes failures on lots of features.
1 participant