Skip to content

Commit

Permalink
Merge pull request #18 from a-luna:fix-gh-action-deploy_attempt-4
Browse files Browse the repository at this point in the history
Fix Redis port default value for PROD
a-luna authored Jan 5, 2024
2 parents 2475ca2 + 5254ed9 commit 3140e3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/config/api_settings.py
Original file line number Diff line number Diff line change
@@ -187,7 +187,7 @@ def get_prod_settings() -> UnicodeApiSettings: # pragma: no cover
"API_VERSION": "/v1",
"REDIS_PW": os.environ.get("REDIS_PW", ""),
"REDIS_HOST": os.environ.get("REDIS_HOST", ""),
"REDIS_PORT": int(os.environ.get("REDIS_PORT", "")),
"REDIS_PORT": int(os.environ.get("REDIS_PORT", "6379")),
"REDIS_DB": int(os.environ.get("REDIS_DB", "0")),
"RATE_LIMIT_PER_PERIOD": int(os.environ.get("RATE_LIMIT_PER_PERIOD", "1")),
"RATE_LIMIT_PERIOD_SECONDS": timedelta(seconds=int(os.environ.get("RATE_LIMIT_PERIOD_SECONDS", "100"))),

0 comments on commit 3140e3d

Please sign in to comment.