Make queue strategy configurable and default to Fifo (#463)

* Change idle timeout default to 10 minutes

* Revert lifo for now while we investigate connection thrashing issues

* Make queue strategy configurable

* test revert idle time out

* Add pgcat start to python test
This commit is contained in:
Zain Kabani
2023-06-09 14:35:20 -04:00
committed by GitHub
parent 0bc453a771
commit aca9738821
3 changed files with 18 additions and 3 deletions

View File

@@ -63,6 +63,7 @@ def cleanup_conn(conn: psycopg2.extensions.connection, cur: psycopg2.extensions.
def test_normal_db_access():
pgcat_start()
conn, cur = connect_db(autocommit=False)
cur.execute("SELECT 1")
res = cur.fetchall()