Skip to content

fix: kv ttl min 60sec#42

Merged
zpg6 merged 2 commits into
mainfrom
fix/ttl-min
Oct 27, 2025
Merged

fix: kv ttl min 60sec#42
zpg6 merged 2 commits into
mainfrom
fix/ttl-min

Conversation

@zpg6
Copy link
Copy Markdown
Owner

@zpg6 zpg6 commented Oct 23, 2025

Closes #41.

TTL for Cloudflare KV values must be >=60sec. A recent better-auth update uses default TTL values that are out of range, so this will default to a min of 60sec and give a warning if out of range.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Oct 23, 2025

Open in StackBlitz

npm i https://pkg.pr.new/zpg6/better-auth-cloudflare@42

commit: c60f21f

@zpg6 zpg6 merged commit 1d484e9 into main Oct 27, 2025
5 checks passed
@zpg6 zpg6 deleted the fix/ttl-min branch October 27, 2025 13:34
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.

better-auth default rateLimit config unusable with Cloudflare KV

1 participant