diff options
author | Matthew Heon <mheon@redhat.com> | 2019-06-20 10:17:38 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2019-06-25 13:03:08 -0400 |
commit | 65fb42ad55647ebceb8057c4562da0d39da1382d (patch) | |
tree | 316f450557b6a9237496f4d250747d56db3d1258 /test | |
parent | 5995f1c9b954cb998572e9e26176b312bbdbfd02 (diff) | |
download | podman-65fb42ad55647ebceb8057c4562da0d39da1382d.tar.gz podman-65fb42ad55647ebceb8057c4562da0d39da1382d.tar.bz2 podman-65fb42ad55647ebceb8057c4562da0d39da1382d.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 'test')
0 files changed, 0 insertions, 0 deletions