Skip to content

Add per-core entry size limit#294

Merged
shaypal5 merged 7 commits intomasterfrom
codex/implement-new-feature-from-issue-292
Jul 17, 2025
Merged

Add per-core entry size limit#294
shaypal5 merged 7 commits intomasterfrom
codex/implement-new-feature-from-issue-292

Conversation

@shaypal5
Copy link
Copy Markdown
Member

@shaypal5 shaypal5 commented Jul 16, 2025

Implements the feature requested in #292.

Summary

  • add entry_size_limit parameter to core configuration
  • enforce entry size limits in all caching backends
  • expose helper parse_bytes for human friendly sizes
  • document entry size limit and add tests

Testing

  • ruff check .
  • mypy src/cachier/
  • pytest -m "memory" -q

https://chatgpt.com/codex/tasks/task_e_68774f3bdaac832382855c13d32245b7

@shaypal5 shaypal5 requested a review from Borda July 16, 2025 10:39
@shaypal5 shaypal5 force-pushed the codex/implement-new-feature-from-issue-292 branch 2 times, most recently from 112e187 to a23239c Compare July 16, 2025 13:08
@shaypal5 shaypal5 force-pushed the codex/implement-new-feature-from-issue-292 branch from a23239c to 5371986 Compare July 17, 2025 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants