mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-15 15:04:16 +01:00
re-add memorycache
This commit is contained in:
parent
cc7d638249
commit
c3fc83e819
1 changed files with 1 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ namespace MareSynchronosServer
|
||||||
services.Configure<IpRateLimitOptions>(Configuration.GetSection("IpRateLimiting"));
|
services.Configure<IpRateLimitOptions>(Configuration.GetSection("IpRateLimiting"));
|
||||||
services.Configure<IpRateLimitPolicies>(Configuration.GetSection("IpRateLimitPolicies"));
|
services.Configure<IpRateLimitPolicies>(Configuration.GetSection("IpRateLimitPolicies"));
|
||||||
|
|
||||||
|
services.AddMemoryCache();
|
||||||
services.AddInMemoryRateLimiting();
|
services.AddInMemoryRateLimiting();
|
||||||
|
|
||||||
services.AddSingleton<SystemInfoService, SystemInfoService>();
|
services.AddSingleton<SystemInfoService, SystemInfoService>();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue