Skip to content

feat(gui): offload expression processing to subprocess with logging b… - #20

Merged
NewComer00 merged 1 commit into
mainfrom
feat/multiprocess-expression-worker
Mar 5, 2026
Merged

NewComer00 merged 1 commit into
mainfrom
feat/multiprocess-expression-worker

Conversation

@NewComer00

Copy link
Copy Markdown
Owner

…ridge

Replace ThreadPoolExecutor with ProcessPoolExecutor for expression processing to avoid blocking the UI and enable multi-core CPU usage. Introduce WorkerContext to propagate logging config, locale, and formatter settings into the worker process via QueueListener/QueueHandler. Hoist formatter and logger name constants to module level for reuse.

…ridge

Replace ThreadPoolExecutor with ProcessPoolExecutor for expression
processing to avoid blocking the UI and enable multi-core CPU usage.
Introduce WorkerContext to propagate logging config, locale, and
formatter settings into the worker process via QueueListener/QueueHandler.
Hoist formatter and logger name constants to module level for reuse.
@codecov

codecov Bot commented Mar 5, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 23 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
utils/worker.py 0.00% 23 Missing ⚠️

📢 Thoughts on this report? Let us know!

@NewComer00
NewComer00 merged commit e01adf6 into main Mar 5, 2026
3 of 4 checks passed
@NewComer00
NewComer00 deleted the feat/multiprocess-expression-worker branch March 5, 2026 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant