diff options
Diffstat (limited to 'api.py')
| -rw-r--r-- | api.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -21,7 +21,8 @@ class Apigrabber(joblib.worker.Worker): """Connect to database.""" logging.warning("connecting to database") await super().connect(**args) - self._pool = await asyncpg.create_pool(**args) + self._pool = await asyncpg.create_pool(min_size=1, + **args) async def setup(self): """Initialize the database.""" |
