From 9a5c070123331f338a299cd62b3a375daa402eb5 Mon Sep 17 00:00:00 2001 From: schneefux Date: Sun, 12 Mar 2017 13:10:55 +0100 Subject: start with a pool of 1 connection --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.3.1