Skip to content

More control over database URLs/drivers when creating/dropping databases #49

Description

@davenquinn

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions