We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
RateLimiter
1 parent 93bfcc3 commit aad1f3dCopy full SHA for aad1f3d
worker/src/rate_limit.rs
@@ -20,7 +20,7 @@ unsafe impl Send for RateLimiter {}
20
unsafe impl Sync for RateLimiter {}
21
22
impl EnvBinding for RateLimiter {
23
- const TYPE_NAME: &'static str = "RateLimiter";
+ const TYPE_NAME: &'static str = "Ratelimit";
24
}
25
impl RateLimiter {
26
pub async fn limit(&self, key: String) -> Result<RateLimitOutcome> {
0 commit comments