diff --git a/backend/windmill-worker/src/worker.rs b/backend/windmill-worker/src/worker.rs index 547aa7c411..a34f5de616 100644 --- a/backend/windmill-worker/src/worker.rs +++ b/backend/windmill-worker/src/worker.rs @@ -212,7 +212,7 @@ pub const DEFAULT_SLEEP_QUEUE: u64 = 50; // only 1 native job so that we don't have to worry about concurrency issues on non dedicated native jobs workers pub const DEFAULT_NATIVE_JOBS: usize = 1; -const VACUUM_PERIOD: u32 = 10000; +const VACUUM_PERIOD: u32 = 50000; pub const MAX_BUFFERED_DEDICATED_JOBS: usize = 3; @@ -1384,23 +1384,14 @@ pub async fn run_worker