Skip to content

Allow to customize number of libzim workers#40

Merged
benoit74 merged 1 commit intomainfrom
customize_zim_workers
Mar 3, 2026
Merged

Allow to customize number of libzim workers#40
benoit74 merged 1 commit intomainfrom
customize_zim_workers

Conversation

@benoit74
Copy link
Collaborator

@benoit74 benoit74 commented Mar 3, 2026

This PR focus on allowing to customize number of libzim worker ; while probably not the ultimate solution to #38, it at least allows to workaround it until we've understood how to properly apply backpressure (see openzim/python-scraperlib#282)

@benoit74 benoit74 self-assigned this Mar 3, 2026
@codecov
Copy link

codecov bot commented Mar 3, 2026

Codecov Report

❌ Patch coverage is 25.00000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 30.30%. Comparing base (327d44d) to head (85aab64).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
scraper/src/maps2zim/processor.py 0.00% 2 Missing ⚠️
scraper/src/maps2zim/entrypoint.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #40      +/-   ##
==========================================
- Coverage   30.32%   30.30%   -0.03%     
==========================================
  Files          11       11              
  Lines        1052     1056       +4     
  Branches      138      139       +1     
==========================================
+ Hits          319      320       +1     
- Misses        722      725       +3     
  Partials       11       11              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@benoit74 benoit74 merged commit dac9cad into main Mar 3, 2026
10 checks passed
@benoit74 benoit74 deleted the customize_zim_workers branch March 3, 2026 14:29
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