diff options
author | Matthew Heon <mheon@redhat.com> | 2019-06-20 10:17:38 -0400 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2019-08-05 14:40:28 -0400 |
commit | 5255a1bb11da5e3a9310c672011efb2796ba9412 (patch) | |
tree | 281e0cc2073fff1eb3b400ed947b9d7a2a8d34d5 /contrib/python/pypodman | |
parent | a682cd3814cb4ea959a1e96e8b54cf068c1e4aed (diff) | |
download | podman-5255a1bb11da5e3a9310c672011efb2796ba9412.tar.gz podman-5255a1bb11da5e3a9310c672011efb2796ba9412.tar.bz2 podman-5255a1bb11da5e3a9310c672011efb2796ba9412.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 'contrib/python/pypodman')
0 files changed, 0 insertions, 0 deletions