diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-12 13:10:55 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-12 13:10:55 +0100 |
| commit | 9a5c070123331f338a299cd62b3a375daa402eb5 (patch) | |
| tree | 02bfb365efbedd461ab878a4f047e985456a786e | |
| parent | b2cd21f3d60414b527da5f0959c9a77c8c758ad2 (diff) | |
| download | discordbot-9a5c070123331f338a299cd62b3a375daa402eb5.tar.gz discordbot-9a5c070123331f338a299cd62b3a375daa402eb5.zip | |
start with a pool of 1 connection
| -rw-r--r-- | main.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |
