diff --git a/app/config.py b/app/config.py index 9f4c43d1..33291e67 100644 --- a/app/config.py +++ b/app/config.py @@ -370,4 +370,4 @@ try: except Exception: COINBASE_YEARLY_PRICE = 30.00 -ALIAS_LIMIT = "100/day;50/hour;5/minute" +ALIAS_LIMIT = os.environ.get("ALIAS_LIMIT") or "100/day;50/hour;5/minute" diff --git a/example.env b/example.env index 436825c8..12f80dad 100644 --- a/example.env +++ b/example.env @@ -162,4 +162,7 @@ DISABLE_ONBOARDING=true # COINBASE_WEBHOOK_SECRET=to_fill # COINBASE_CHECKOUT_ID=to_fill # COINBASE_API_KEY=to_fill -# COINBASE_YEARLY_PRICE=30.00 \ No newline at end of file +# COINBASE_YEARLY_PRICE=30.00 + +# set the frequency limit on alias creation +# ALIAS_LIMIT = "100/day;50/hour;5/minute" \ No newline at end of file