From 196c0fc05d483a08aaa35384a0d353324dc0e62a Mon Sep 17 00:00:00 2001 From: Brett Hoerner Date: Fri, 3 May 2024 10:34:13 -0600 Subject: [PATCH] Bump webhook max size to 5MB --- hook-api/src/handlers/webhook.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hook-api/src/handlers/webhook.rs b/hook-api/src/handlers/webhook.rs index e50b8b0..d35c614 100644 --- a/hook-api/src/handlers/webhook.rs +++ b/hook-api/src/handlers/webhook.rs @@ -9,7 +9,7 @@ use hook_common::pgqueue::{NewJob, PgQueue}; use serde::Serialize; use tracing::{debug, error}; -const MAX_BODY_SIZE: usize = 1_000_000; +const MAX_BODY_SIZE: usize = 5_000_000; #[derive(Serialize, Deserialize)] pub struct WebhookPostResponse {