Skip to content

Add default ttl to cache#1340

Open
dc366 wants to merge 1 commit into
openwrt:mainfrom
dc366:main
Open

Add default ttl to cache#1340
dc366 wants to merge 1 commit into
openwrt:mainfrom
dc366:main

Conversation

@dc366

@dc366 dc366 commented Apr 16, 2025

Copy link
Copy Markdown

Set a default cache time of 1 hour so that the cache does not get stale. Calls to client_get can be modified as needed to have appropriate TTLs depending on the nature of the request.

Resolves #1327

@codecov

codecov Bot commented Apr 17, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.96%. Comparing base (5e65dec) to head (acd4b14).
⚠️ Report is 402 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1340       +/-   ##
===========================================
+ Coverage   80.75%   90.96%   +10.20%     
===========================================
  Files          15       13        -2     
  Lines         977     1184      +207     
===========================================
+ Hits          789     1077      +288     
+ Misses        188      107       -81     

☔ View full report in Codecov by Harness.
📢 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.

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.

24.10.1 issues: reload_versions needs a trigger to fire when new release is made

1 participant