Improve the image loading performance in the database https://github.com/siyuan-note/siyuan/issues/15245

This commit is contained in:
Daniel 2025-07-09 19:59:43 +08:00
parent f2e57f7028
commit 42b92bf7a2
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -81,7 +81,7 @@ func NeedGenerateAssetsThumbnail(sourceImgPath string) bool {
if info.IsDir() {
return false
}
return info.Size() > 1024*10
return info.Size() > 1024*1024
}
func GenerateAssetsThumbnail(sourceImgPath, resizedImgPath string) (err error) {