Staging instance, all changes can be removed at any time

Skip to content

Explicitely give Db connections back to the pool.

So they gracefully release the connection on error instead of relying on reference-counting to call the Db's __del__ (which does not happen in Hypothesis tests) because a ref to it is kept via the traceback object.

See also: swh-storage!183 (closed)


Migrated from D1384 (view on Phabricator)

Merge request reports

Loading