Skip to content

fix: Throw error on negative ttl and swr#1465

Merged
zkat merged 3 commits into
mainfrom
sy/negative-ttl
May 11, 2026
Merged

fix: Throw error on negative ttl and swr#1465
zkat merged 3 commits into
mainfrom
sy/negative-ttl

Conversation

@TartanLlama

Copy link
Copy Markdown
Contributor

Passing negative integers for ttl and swr in the CacheOverride constructor should throw. This PR adds this check, and regression tests.

@zkat zkat merged commit 7d29650 into main May 11, 2026
29 checks passed
@zkat zkat deleted the sy/negative-ttl branch May 11, 2026 18:00
pull Bot pushed a commit to eduardomourar/js-compute-runtime that referenced this pull request May 14, 2026
Co-authored-by: Kat Marchán <kzm@zkat.tech>
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.

3 participants