async def create(self):
pool = await asyncpg.create_pool(
user=config.PGUSER,
password=config.PGPASSWORD,
host=config.ip,
port=5432,
database=config.DATABASE,
max_size=95,
min_size=3,
# statement_cache_size=1000,
# max_cacheable_statement_size=35360
)
self.pool = pool