diff options
author | Matthew Heon <mheon@redhat.com> | 2019-06-20 10:17:38 -0400 |
---|---|---|
committer | Matthew Heon <mheon@redhat.com> | 2019-06-20 10:17:38 -0400 |
commit | 0106acbf7ea5fbb2e718457fa11faeaecee7c59e (patch) | |
tree | 36b92904c037b101283a4dbd83a8150ec1595075 /vendor/github.com/DataDog/zstd/bitstream.h | |
parent | a1a70ff5e0e008b538e2589b86ac5a27fd177acf (diff) | |
download | podman-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/github.com/DataDog/zstd/bitstream.h')
0 files changed, 0 insertions, 0 deletions