Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage: Use timeout for boltdb database opening
To dump the DB, the service must be stopped. If this is not the case `dump` command just hangs without any output, which _may_ be unexpected from the ops POV. Introduce a 1 second timeous, which is more than enough, given that bbolt retries doing flock() every 50ms. Signed-off-by: Evgenii Stratonikov <fyfyrchik@runbox.com>
- Loading branch information