HomeSoftware Heritage

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

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
vlorentzPushed on Oct 22 2018, 11:03 AM
Reviewer
Reviewers
Differential Revision
D556: Warn when using db_transaction/db_transaction_generator where you shouldn't.
Parents
rDSTOd211615e497b: Mark snapshot tests as needing the database
Branches
Unknown
Tags
Unknown
Build Status
Buildable 1712
Build 2058: tox-on-jenkinsJenkins