fix(webdav): bound a kept source only by the cache's own limit

This commit is contained in:
Dominik Schmidt committed 2026-11-27 16:40:33 +01:00
1 parent 253b2d4d52
commit 4443a8f9fc
1 file changed
-3
@@ -600,9 +600,6 @@ func (w *ThumbnailWorkflow) rememberSource(key string, data []byte) {
if w.cache == nil || len(data) > maxCachedSourceBytes {
return
}
if w.maxInputSize > 0 && uint64(len(data)) > w.maxInputSize {
return
}
_ = w.cache.Put(key, data)
}