HomeSoftware Heritage

Make the db_transaction{,_generator} decorators support client options

Description

Make the db_transaction{,_generator} decorators support client options

Summary: Allow adding server-side statement timeouts for database operations

Test Plan: make test still works

Reviewers: Reviewers!

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

Details

Provenance
olasdAuthored on May 28 2018, 2:37 PM
olasdPushed on May 31 2018, 4:53 PM
Differential Revision
D334: Make the db_transaction{,_generator} decorators support client options
Parents
rDSTOd826f7542bed: swh.storage.api.client: Permit to specify the query timeout option
Branches
Unknown
Tags
Unknown