summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.py b/main.py
index 5864f55..a9c3f63 100644
--- a/main.py
+++ b/main.py
@@ -41,7 +41,8 @@ async def connect(queuedb, db):
await queue.setup()
global pool
- pool = await asyncpg.create_pool(**db)
+ pool = await asyncpg.create_pool(
+ min_size=1, **db)
@bot.event