Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: avoid exploding options cache using lru and expose size parameter #101

Merged
merged 2 commits into from
Mar 17, 2025

Conversation

dolfim-ibm
Copy link
Contributor

Switching from an infinite cache to LRU controlled by the parameter DOCLING_SERVE_OPTIONS_CACHE_SIZE (default 2).

Issue resolved by this Pull Request:
Resolves #86

Copy link

mergify bot commented Mar 16, 2025

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🟢 Enforce conventional commit

Wonderful, this rule succeeded.

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\(.+\))?(!)?:

@dolfim-ibm dolfim-ibm merged commit ea09028 into main Mar 17, 2025
9 checks passed
@dolfim-ibm dolfim-ibm deleted the fix-cache-size branch March 17, 2025 07:52
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.

Add parameters controlling cache of converters
2 participants