mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
feat: add Redis identify ratelimiter
This commit is contained in:
parent
8aa2b0b7aa
commit
2aead40449
15 changed files with 449 additions and 40 deletions
|
|
@ -14,6 +14,8 @@ public class DataStoreModule: Module
|
|||
builder.RegisterType<Database>().As<IDatabase>().SingleInstance();
|
||||
builder.RegisterType<ModelRepository>().AsSelf().SingleInstance();
|
||||
|
||||
builder.RegisterType<RedisService>().AsSelf().SingleInstance();
|
||||
|
||||
builder.RegisterType<DispatchService>().AsSelf().SingleInstance();
|
||||
|
||||
builder.Populate(new ServiceCollection().AddMemoryCache());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue