mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 10:58:57 +00:00
chore(fs): add debug logging for case cache registry (#9869)
Clearly something is up with it, but I still have no clue what. This might give some clue when affected user enable debug logging.
This commit is contained in:
parent
99a6f3a5b6
commit
ce3248cea7
@ -89,9 +89,13 @@ func (r *caseFilesystemRegistry) get(fs Filesystem) Filesystem {
|
|||||||
r.startCleaner.Do(func() {
|
r.startCleaner.Do(func() {
|
||||||
go r.cleaner()
|
go r.cleaner()
|
||||||
})
|
})
|
||||||
|
l.Debugf("Created new case cache for key %v", k)
|
||||||
}
|
}
|
||||||
r.mut.Unlock()
|
r.mut.Unlock()
|
||||||
}
|
}
|
||||||
|
if ok {
|
||||||
|
l.Debugf("Reusing case cache for key %v", k)
|
||||||
|
}
|
||||||
|
|
||||||
return &caseFilesystem{
|
return &caseFilesystem{
|
||||||
Filesystem: fs,
|
Filesystem: fs,
|
||||||
|
Loading…
Reference in New Issue
Block a user