Fix to reopening all mothballs every 2s

#180
This commit is contained in:
Neale Pickett 2021-10-25 13:37:56 -06:00
parent ace940ba12
commit 4bb6819319
1 changed files with 1 additions and 0 deletions

View File

@ -168,6 +168,7 @@ func (m *Mothballs) refresh() {
m.categories[categoryName] = zipCategory{ m.categories[categoryName] = zipCategory{
Fs: zipfs.New(zrc), Fs: zipfs.New(zrc),
Closer: f, Closer: f,
mtime: fi.ModTime(),
} }
log.Println("Adding category:", categoryName) log.Println("Adding category:", categoryName)