AOSSIE-Org / AOSSIE-Org/PictoPy

Title: Delay in Image Visibility After Adding Folder

Aperta
#591 3 commenti 0 reazioni 1 assegnatario Rivendicata da @Hemil36 Vedi su GitHub
backend bug
Lingua principale
Python
Stelle
283
Fork
679
Merge medio
7g 2h
PR unite (30g)
3

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.