Skip to content

Commit bd141dc

Browse files
Add rate limiter and profile cache configuration to wrangler.toml
1 parent 6cac834 commit bd141dc

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

wrangler.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,13 @@ compatibility_date = "2026-03-22"
44

55
# Keep workers.dev enabled unless you are deploying to a custom route.
66
workers_dev = true
7+
8+
[[kv_namespaces]]
9+
binding = "PROFILE_CACHE"
10+
id = "32a71a2c083e42f7bee7b40eb75c1ea6"
11+
12+
[[unsafe.bindings]]
13+
name = "RATE_LIMITER"
14+
type = "ratelimit"
15+
namespace_id = "1"
16+
simple = { limit = 120, period = 60 }

0 commit comments

Comments
 (0)