File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
src/content/docs/workers/runtime-apis/bindings Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,6 @@ main = "src/index.js"
3232
3333[[ratelimits ]]
3434name = " MY_RATE_LIMITER"
35- type = " ratelimit"
3635# An identifier you define, that is unique to your Cloudflare account.
3736# Must be an integer.
3837namespace_id = " 1001"
@@ -106,14 +105,12 @@ main = "src/index.js"
106105# Free user rate limiting
107106[[ratelimits ]]
108107name = " FREE_USER_RATE_LIMITER"
109- type = " ratelimit"
110108namespace_id = " 1001"
111109simple = { limit = 100 , period = 60 }
112110
113111# Paid user rate limiting
114112[[ratelimits ]]
115113name = " PAID_USER_RATE_LIMITER"
116- type = " ratelimit"
117114namespace_id = " 1002"
118115simple = { limit = 1000 , period = 60 }
119116```
@@ -130,14 +127,11 @@ A rate limiting binding has three settings:
130127
131128For example, to apply a rate limit of 1500 requests per minute, you would define a rate limiting configuration as follows:
132129
133-
134-
135130<WranglerConfig >
136131
137132``` toml
138133[[ratelimits ]]
139134name = " MY_RATE_LIMITER"
140- type = " ratelimit"
141135namespace_id = " 1001"
142136
143137# 1500 requests - calls to limit() increment this
You can’t perform that action at this time.
0 commit comments