AOSSIE-Org / AOSSIE-Org/PictoPy

Title: Delay in Image Visibility After Adding Folder

未關閉
#591 3 則留言 0 個 reaction 已指派 1 人 已被 @Hemil36 認領 在 GitHub 檢視
backend bug
主要語言
Python
星號
283
分支
679
平均合併
7 天 2 小時
30 天內合併 PR
3

描述

Description:
When adding a folder with a large number of images (around 200), it takes approximately 8 seconds before the images appear on the home tab.

This delay seems to occur because:

The backend performs all thumbnail generation and database insertion in a single blocking process before returning.

The frontend only triggers a refetch after the entire process completes — meaning no intermediate updates are shown.

As a result, the user perceives a long pause before new images appear.

Steps to Reproduce:

- Add a folder containing ~200 images.

- Observe that the images take several seconds to appear on the home tab.

Expected Behavior:
- The images should appear incrementally or much faster, even for large folders.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。