I added &pool_max_conns=8 or etc to the database connection string. Turns out that's no standard and only used by pgx. It causes problems everywhere else. That should be refactored out only to the cite-detector script. That would mean removing the places where it gets parsed out.