Manager: increase timeout for database integrity check
With a fuller database, 2 seconds is apparently not always long enough, so increase the timeout to 10 seconds.
This commit is contained in:
parent
63a2bce600
commit
27cbb2ed0f
@ -13,7 +13,7 @@ import (
|
|||||||
var ErrIntegrity = errors.New("database integrity check failed")
|
var ErrIntegrity = errors.New("database integrity check failed")
|
||||||
|
|
||||||
const (
|
const (
|
||||||
integrityCheckTimeout = 2 * time.Second
|
integrityCheckTimeout = 10 * time.Second
|
||||||
)
|
)
|
||||||
|
|
||||||
type PragmaIntegrityCheckResult struct {
|
type PragmaIntegrityCheckResult struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user