Skip to content

Commit

Permalink
Fix URI config value
Browse files Browse the repository at this point in the history
  • Loading branch information
paulyhedral committed Jan 7, 2023
1 parent f87d7aa commit 28d96dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/statesman_discord/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class BaseConfig(object):
SESSION_TYPE = os.environ.get(constants.SESSION_TYPE, "redis")
SESSION_REDIS_PORT = int(os.environ.get(constants.REDIS_PORT, "6379"))
SESSION_REDIS = redis.from_url(f"redis://{os.environ[constants.REDIS_HOST]}:{SESSION_REDIS_PORT}")
RATELIMIT_STORAGE_URI = redis.from_url(f"redis://{os.environ[constants.REDIS_HOST]}:{SESSION_REDIS_PORT}")
RATELIMIT_STORAGE_URI = f"redis://{os.environ[constants.REDIS_HOST]}:{SESSION_REDIS_PORT}"
EXECUTOR_TYPE = "thread"
EXECUTOR_MAX_WORKERS = 5
EXECUTOR_PROPAGATE_EXCEPTIONS = True
Expand Down

0 comments on commit 28d96dd

Please sign in to comment.