forked from genewildish/Mainline
feat: Implement concurrent async fetching with fast-start mode #49
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Implemented async/concurrent fetching to improve startup time and enable background refresh.
Changes
engine/fetch.py
ThreadPoolExecutor(10 workers)fetch_all_fast()- grabs headlines from first 5 sources with 3s timeoutengine/app/pipeline_runner.py & main.py
Benefits
concurrent.futures.ThreadPoolExecutorTesting
Related