HomeSoftware Heritage

Only instantiate the storage backend once per import

Description

Only instantiate the storage backend once per import

This allows connection reuse for postgresql and potential remote backends such
as for the object storage, rather than reinitiating all connections on every
request.

Details

Provenance
olasdAuthored on May 7 2018, 3:19 PM
olasdPushed on May 9 2018, 5:34 PM
Parents
rDSTO5a2de1c6b8dd: Use thread-aware psycopg2 connection pooling for database access
Branches
Unknown
Tags
Unknown