Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorGabriel Mazetto <brodock@gmail.com>2018-07-09 18:34:50 +0300
committerGabriel Mazetto <brodock@gmail.com>2018-08-10 21:40:00 +0300
commit09e7c75d1bf871d0c011ea0f9abfb56fab03b919 (patch)
treefbd3cb4f6e35efeff03ca06693e152ce355409e9 /db
parenta3c2b39d10fc3cdf4d50bd1d1157814fc10feeee (diff)
MigrationHelper `disable_statement_timeout` accepts `transaction: false`
By default statement_timeout will only be enabled during transaction lifetime, therefore not leaking outside of it. With `transaction: false` it will set for entire session, but requires a block to passed. It yields control and cleans up session after block finishes, also preventing leaking outside of it.
Diffstat (limited to 'db')
0 files changed, 0 insertions, 0 deletions