[#1770] node: Do not init local storage in reading config routine
Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
parent
2d7166f8d0
commit
4aa4694152
2 changed files with 2 additions and 2 deletions
|
@ -79,6 +79,8 @@ func initAndLog(c *cfg, name string, initializer func(*cfg)) {
|
|||
}
|
||||
|
||||
func initApp(c *cfg) {
|
||||
initLocalStorage(c)
|
||||
|
||||
c.ctx, c.ctxCancel = signal.NotifyContext(context.Background(), syscall.SIGINT, syscall.SIGTERM, syscall.SIGHUP)
|
||||
|
||||
initAndLog(c, "storage engine", func(c *cfg) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue