AM
AM
1) If I use `connect_args={'server_settings':{'jit': 'off'}}` with connection pool, does first query will generate `WITH RECURSIVE typeinfo_tree( oid, ns, name, kind, basetype, has_bin_io, elemtype, elemdelim, range_subtype, elem_has_bin_io, attrtypoids, attrnames, depth)...
@elprans [this](https://github.com/MagicStack/asyncpg/issues/530#issuecomment-1247078341) doesn't help, every first query i get `WITH RECURSIVE typeinfo_tree( oid, ns, name, kind, basetype, has_bin_io, elemtype, elemdelim, range_subtype, elem_has_bin_io, attrtypoids, attrnames, depth) AS ( SELECT ...` I...
> @elprans [this](https://github.com/MagicStack/asyncpg/issues/530#issuecomment-1247078341) doesn't help, every first query i get `WITH RECURSIVE typeinfo_tree( oid, ns, name, kind, basetype, has_bin_io, elemtype, elemdelim, range_subtype, elem_has_bin_io, attrtypoids, attrnames, depth) AS ( SELECT ...`...
You can try this: ```python import optuna from optuna.storages import RDBStorage import os url = f"postgresql+psycopg2://{os.getenv('POSTGRES_USERNAME')}:{os.getenv('POSTGRES_PASSWORD')}@{os.getenv('POSTGRES_HOST')}:{os.getenv('POSTGRES_PORT')}/{os.getenv('POSTGRES_DB')}" study = optuna.create_study( storage=RDBStorage(url=url, engine_kwargs={'pool_recycle': 60}), study_name="Connection failure", ) ``` There could be many...