Implement background worker to make search response faster and avoid hanging the UI when there are a lot of files. Implement better toast messages for transitional events that automatically disappear.

This commit is contained in:
Leo Vasanko
2026-01-31 21:02:16 +00:00
parent 1e74245721
commit 40fb7bf398
8 changed files with 305 additions and 41 deletions
+1 -3
View File
@@ -49,9 +49,7 @@ async def main_start(app):
max_workers=preview_workers, thread_name_prefix="cista-preview"
)
# Larger pool for long-running but low-memory zip operations
app.ctx.zipexec = ThreadPoolExecutor(
max_workers=32, thread_name_prefix="cista-zip"
)
app.ctx.zipexec = ThreadPoolExecutor(max_workers=32, thread_name_prefix="cista-zip")
watching.start(app)