HomeSoftware Heritage

Use thread-aware psycopg2 connection pooling for database access

Description

Use thread-aware psycopg2 connection pooling for database access

Summary: This allows to use swh.storage with a modicum of concurrency

Test Plan: clearly, make test should still pass

Reviewers: Reviewers!

Differential Revision: https://forge.softwareheritage.org/D325

Details

Provenance
olasdAuthored on May 4 2018, 7:19 PM
olasdPushed on May 9 2018, 4:43 PM
Differential Revision
D325: Use thread-aware psycopg2 connection pooling for database access
Parents
rDSTO6c93693527da: Stop using the storage.db attribute directly
Branches
Unknown
Tags
Unknown