Skip to content

fix: avoid blocking mapping resource check - #53

Merged
lmaertin merged 1 commit into
mainfrom
fix/async-mapping-resource-check
Aug 23, 2026
Merged

fix: avoid blocking mapping resource check#53
lmaertin merged 1 commit into
mainfrom
fix/async-mapping-resource-check

Conversation

@lmaertin

Copy link
Copy Markdown
Owner

Summary

  • Run the cached dedicated mapping-file existence check in a worker thread, keeping synchronous resource filesystem access off the event loop.
  • Add a regression test that verifies MappingInfo.load() delegates the check through asyncio.to_thread().
  • Bump the package version to 0.9.10 and document the fix.

Validation

  • pytest (180 passed)
  • pylint $(git ls-files '*.py') (10.00/10)
  • mypy src (no issues found)
  • PYTHONPATH=src python -c 'import pooldose; print(pooldose.__version__)' (0.9.10)

@lmaertin
lmaertin merged commit 655c3f7 into main Aug 23, 2026
12 checks passed
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