Skip to content

Check if an email address exists without sending any email, written in Rust. Comes with a ⚙️ HTTP backend.

feat: Increase content length limit for bulk validation endpoint (#1525)

David Emiliano calzada moralesbbdab31e0dde
diff --git a/backend/src/http/v0/bulk/post.rs b/backend/src/http/v0/bulk/post.rs
index 5bc29132..3cdad66b 100644
--- a/backend/src/http/v0/bulk/post.rs
+++ b/backend/src/http/v0/bulk/post.rs
@@ -143,7 +143,7 @@ pub fn create_bulk_job(
// When accepting a body, we want a JSON body (and to reject huge
// payloads)...
// TODO: Configure max size limit for a bulk job
- .and(warp::body::content_length_limit(1024 * 16))
+ .and(warp::body::content_length_limit(1024 * 1024 * 50)) // 50 MB limit
.and(warp::body::json())
.and_then(create_bulk_request)
// View access logs by setting `RUST_LOG=reacher_backend`.