Apply more limits on incoming requests

This commit is contained in:
oxalica 2024-08-27 02:10:31 -04:00
parent e71140e1fa
commit 9ced78d13d
2 changed files with 27 additions and 3 deletions

View file

@ -22,7 +22,7 @@ serde-constant = "0.1.0"
serde_json = "1.0.127"
tokio = { version = "1.39.3", features = ["macros", "rt-multi-thread", "sync"] }
tokio-stream = { version = "0.1.15", features = ["sync"] }
tower-http = { version = "0.5.2", features = ["cors"] }
tower-http = { version = "0.5.2", features = ["cors", "limit"] }
tracing = "0.1.40"
tracing-subscriber = "0.3.18"
uuid = { version = "1.10.0", features = ["serde", "v4"] }