Skip to content

Commit

Permalink
modified redis url
Browse files Browse the repository at this point in the history
  • Loading branch information
Njoguu committed Nov 5, 2023
1 parent de65208 commit b2cc117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def create_app(test_config=None):
key_func=get_remote_address,
enabled=True,
default_limits=["40 per day", "5 per minute"],
storage_uri=os.environ["REDIS_URL"] + "/1",
storage_uri=os.environ["REDIS_URL"] + "/1" + "?ssl_cert_reqs=none",
storage_options={"socket_connect_timeout": 30},
strategy="fixed-window"
)
Expand Down

0 comments on commit b2cc117

Please sign in to comment.