-
Notifications
You must be signed in to change notification settings - Fork 138
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
feat(cloudflare-kv-http): support ttl
for setItem
#448
Conversation
To check the exact implementation from the Wrangler developers, you can go to this GitHub link |
ttl
option
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #448 +/- ##
==========================================
+ Coverage 65.05% 66.59% +1.53%
==========================================
Files 39 39
Lines 4055 4131 +76
Branches 487 511 +24
==========================================
+ Hits 2638 2751 +113
+ Misses 1408 1371 -37
Partials 9 9 β View full report in Codecov by Sentry. |
@pi0 hi, do I need to cover the code with tests? Also, when can this code be released? |
From the code of the bindings Cloudflare KV driver ( |
ttl
optionttl
for setItem
Thanks! |
π Linked issue
#32
β Type of change
π Description
Add new feature - ttl for storage data in KV via http. This feature prevent extra costs for using KV and resolve #32
π Checklist