fix: bump incoming payload limit to 20mb

This commit is contained in:
Ludo Galabru
2023-06-27 12:58:21 -04:00
parent 943f2e5d96
commit 7e150861a4

View File

@@ -420,7 +420,7 @@ pub async fn start_event_observer(
let background_job_tx_mutex = Arc::new(Mutex::new(observer_commands_tx.clone()));
let limits = Limits::default().limit("json", 4.megabytes());
let limits = Limits::default().limit("json", 20.megabytes());
let mut shutdown_config = config::Shutdown::default();
shutdown_config.ctrlc = false;
shutdown_config.grace = 0;