summaryrefslogtreecommitdiff
path: root/vendor/golang.org
diff options
context:
space:
mode:
authorMatthew Heon <mheon@redhat.com>2019-06-20 10:17:38 -0400
committerMatthew Heon <mheon@redhat.com>2019-06-20 10:17:38 -0400
commit0106acbf7ea5fbb2e718457fa11faeaecee7c59e (patch)
tree36b92904c037b101283a4dbd83a8150ec1595075 /vendor/golang.org
parenta1a70ff5e0e008b538e2589b86ac5a27fd177acf (diff)
downloadpodman-0106acbf7ea5fbb2e718457fa11faeaecee7c59e.tar.gz
podman-0106acbf7ea5fbb2e718457fa11faeaecee7c59e.tar.bz2
podman-0106acbf7ea5fbb2e718457fa11faeaecee7c59e.zip
Avoid a read-write transaction on DB init
Instead, use a less expensive read-only transaction to see if the DB is ready for use (it probably is), and only fire the expensive RW transaction if absolutely necessary. Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'vendor/golang.org')
0 files changed, 0 insertions, 0 deletions