HomeSoftware Heritage

Only instantiate the storage backend once per import
18c9dad986a1Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

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 11 2018, 12:13 PM
Parents
R65:5a2de1c6b8dd: Use thread-aware psycopg2 connection pooling for database access
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/1064