Skip to content

fix: support cache TTL configuration#11

Merged
rawbytedev merged 1 commit into
rawbytedev:mainfrom
Lovlace777:lovelace/document-cache-refresh
May 18, 2026
Merged

fix: support cache TTL configuration#11
rawbytedev merged 1 commit into
rawbytedev:mainfrom
Lovlace777:lovelace/document-cache-refresh

Conversation

@Lovlace777

Copy link
Copy Markdown
Contributor

Summary

  • Load CACHE_TTL from the runtime environment so cache expiration can be configured.
  • Document the cache TTL and on-demand refresh behavior in the README.
  • Add tests for configured and invalid CACHE_TTL values.

Validation

  • python -m pytest tests/test_caching.py -> passed, 10 tests
  • python -m pytest -> passed, 32 tests
  • python -m pylint src/ --rcfile=.pylintrc -> passed, 10.00/10
  • git diff --check -> passed

Notes

@rawbytedev

Copy link
Copy Markdown
Owner

Nice, Thanks for the help

@rawbytedev rawbytedev merged commit 7071765 into rawbytedev:main May 18, 2026
4 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.

Fix documentation typos and consistency issues

2 participants