Skip to content

Commit

Permalink
config: fix SQLAlchemy connection args
Browse files Browse the repository at this point in the history
  • Loading branch information
slint committed Nov 20, 2023
1 parent 819b911 commit 535f8cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion invenio.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def _parse_env_bool(var_name, default=None):
return default

SQLALCHEMY_ENGINE_OPTIONS = {
"application_name": socket.gethostname(),
"connect_args": {"application_name": socket.gethostname()},
}
if _parse_env_bool("INVENIO_PGBOUNCER_ENABLED", False):
from sqlalchemy.pool import NullPool
Expand Down

0 comments on commit 535f8cc

Please sign in to comment.