Limit the number of current request for a certain amount of time for some endpoints.
This commit is contained in:
parent
b2572ebfe5
commit
b40ee5f765
4 changed files with 34 additions and 12 deletions
|
|
@ -10,7 +10,7 @@ common = { path = "../common" }
|
|||
axum = { version = "0.8", features = ["macros"] }
|
||||
axum-extra = { version = "0.10", features = ["cookie", "query"] }
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
tower = { version = "0.5", features = ["util"] }
|
||||
tower = { version = "0.5", features = ["util", "limit", "buffer"] }
|
||||
tower-http = { version = "0.6", features = ["fs", "trace"] }
|
||||
|
||||
tracing = "0.1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue