Merge pull request 'use the ResetRoot config to clear the cache once a user quits' (#112) from cache-error-fix into master
Reviewed-on: #112
This commit is contained in:
commit
89d3d19d77
@ -84,6 +84,7 @@ func main() {
|
|||||||
FlagCount: uint32(128),
|
FlagCount: uint32(128),
|
||||||
MenuSeparator: menuSeparator,
|
MenuSeparator: menuSeparator,
|
||||||
ResetOnEmptyInput: true,
|
ResetOnEmptyInput: true,
|
||||||
|
ResetRoot: true, // clear the cache once a user quits
|
||||||
}
|
}
|
||||||
|
|
||||||
if engineDebug {
|
if engineDebug {
|
||||||
|
|||||||
@ -99,6 +99,7 @@ func main() {
|
|||||||
FlagCount: uint32(128),
|
FlagCount: uint32(128),
|
||||||
MenuSeparator: menuSeparator,
|
MenuSeparator: menuSeparator,
|
||||||
ResetOnEmptyInput: true,
|
ResetOnEmptyInput: true,
|
||||||
|
ResetRoot: true, // clear the cache once a user quits
|
||||||
}
|
}
|
||||||
|
|
||||||
if engineDebug {
|
if engineDebug {
|
||||||
|
|||||||
@ -82,6 +82,7 @@ func main() {
|
|||||||
MenuSeparator: menuSeparator,
|
MenuSeparator: menuSeparator,
|
||||||
EngineDebug: engineDebug,
|
EngineDebug: engineDebug,
|
||||||
ResetOnEmptyInput: true,
|
ResetOnEmptyInput: true,
|
||||||
|
ResetRoot: true, // clear the cache once a user quits
|
||||||
}
|
}
|
||||||
|
|
||||||
menuStorageService := storage.NewMenuStorageService(conns)
|
menuStorageService := storage.NewMenuStorageService(conns)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user