You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.
rror[E0271]: type mismatch resolving `<RateLimiter<MemoryStoreActor> as Transform<<impl ServiceFactory as ServiceFactory>::Service>>::Request == ServiceRequest`
--> src/main.rs:164:27
|
164 | App::new().wrap(cors).wrap(ratelimiter)
| ^^^^ expected struct `actix_web::service::ServiceRequest`, found struct `ServiceRequest`
|
= note: perhaps two different versions of crate `actix_web` are being used?
let ratelimiter = RateLimiter::new(
MemoryStoreActor::from(store.clone()).start())
.with_interval(Duration::from_secs(3))
.with_max_requests(10);
Hi I keep getting this error
while trying to update to actix 3 not sure what i'm doing wrong
Thanks a lot
The text was updated successfully, but these errors were encountered: