aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-07-14 01:26:05 +0100
committerGravatar Joe Banks <[email protected]>2024-07-14 01:26:05 +0100
commit96275ba5291cf49f12ebe33888a3379ab73b5d3a (patch)
tree3dae09ea8357a65d374d6e59a9a62a1530ead4d2
parentMerge pull request #3074 from python-discord/faster-silence-tests (diff)
Remove Redis max connections limit
The server limit is more than capable of handling any traffic that bot generates, this number is unreasonably low for events that happen in bulk/surges. For reference, the Redis server connection limit is in the thousands.
-rw-r--r--bot/__main__.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/bot/__main__.py b/bot/__main__.py
index 42b3c0c95..540c97d1b 100644
--- a/bot/__main__.py
+++ b/bot/__main__.py
@@ -22,7 +22,6 @@ async def _create_redis_session() -> RedisSession:
host=constants.Redis.host,
port=constants.Redis.port,
password=constants.Redis.password,
- max_connections=20,
use_fakeredis=constants.Redis.use_fakeredis,
global_namespace="bot",
decode_responses=True,