HomeSoftware Heritage

Warn when using db_transaction/db_transaction_generator where you shouldn't.
a8fbce58f135Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

Warn when using db_transaction/db_transaction_generator where you shouldn't.

Summary:
I did it, it caused closed cursors that hang the process,
that's hard to debug.

Reviewers: Reviewers, ardumont

Reviewed By: Reviewers, ardumont

Subscribers: ardumont

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

Details

Provenance
vlorentzAuthored on Oct 22 2018, 9:27 AM
douarddaPushed on Oct 22 2018, 4:36 PM
Reviewer
Reviewers
Differential Revision
D556: Warn when using db_transaction/db_transaction_generator where you shouldn't.
Parents
R65:d211615e497b: Mark snapshot tests as needing the database
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/1729, tag: phabricator/base/1728