Fix storage state
This commit is contained in:
parent
ee789dacb5
commit
442ba2218d
|
@ -31,6 +31,8 @@ func New(path string) (s *Storage, err error) {
|
|||
kyoto: kyoto,
|
||||
counters: make(map[string]*counter),
|
||||
}
|
||||
s.loadState()
|
||||
go s.keepStatePersisted()
|
||||
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue