Needa actually print the regex itself, not the address
Haha, I'm so dumb. Dumb / 10. I was passing the queries array into verify every time, silently causing failures since the tuple exists.
SSL auth fails on worker processes, so the db needs to be connected to each transaction, or once per worker.
Accidently had another set where I needed a map
Never updated query
Fixed comments, and am testing if order of operations lets me open the database globally
And I misordered the finally blocks.
Moving the db didn't work. Need to revert to opening a connection per transaction.
One more try of that global database, cursor is transaction specific
Yep, doesn't work. Requires a new database connection per transaction, since I can't add a callback to gunicorn to generate one per worker.