Related to #48, our change to not recreating drivers each time the Database class is instantiated (#46) has led to random slowdowns in Macrostrat testing as database drivers fell back to psycopg2 instead of the newer psycopg for cluster management operations.
This resulted in particular in random 50s timeouts before database creation and connections, similar to what is documented here: psycopg/psycopg2#916
We've worked around this by explicitly setting the driver to psycopg in Macrostrat's testing suite, but that should be unnecessary.
Related to #48, our change to not recreating drivers each time the
Databaseclass is instantiated (#46) has led to random slowdowns in Macrostrat testing as database drivers fell back topsycopg2instead of the newerpsycopgfor cluster management operations.This resulted in particular in random 50s timeouts before database creation and connections, similar to what is documented here: psycopg/psycopg2#916
We've worked around this by explicitly setting the driver to
psycopgin Macrostrat's testing suite, but that should be unnecessary.