mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
⚡ Improve the image loading performance in the database https://github.com/siyuan-note/siyuan/issues/15245
This commit is contained in:
parent
f2e57f7028
commit
42b92bf7a2
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue