mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 22:46:01 -03:30
Made OPTIONS optional
This commit is contained in:
@@ -77,7 +77,7 @@ def pg_bus_conn():
|
||||
user=conf['USER'],
|
||||
password=conf['PASSWORD'],
|
||||
port=conf['PORT'],
|
||||
**conf["OPTIONS"])
|
||||
**conf.get("OPTIONS", {}))
|
||||
# Django connection.cursor().connection doesn't have autocommit=True on
|
||||
conn.set_session(autocommit=True)
|
||||
pubsub = PubSub(conn)
|
||||
|
||||
Reference in New Issue
Block a user