From 65946ef85761b2d541421e5afb01a09bc17b0268 Mon Sep 17 00:00:00 2001 From: Eric Callahan Date: Mon, 18 Apr 2022 19:42:14 -0400 Subject: [PATCH] job_queue: increase ready job delay Delay for a full second before processing a job after Klippy reports ready. Signed-off-by: Eric Callahan --- moonraker/components/job_queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moonraker/components/job_queue.py b/moonraker/components/job_queue.py index 46e8814..c232ba9 100644 --- a/moonraker/components/job_queue.py +++ b/moonraker/components/job_queue.py @@ -76,7 +76,7 @@ class JobQueue: event_loop = self.server.get_event_loop() self._set_queue_state("loading") self.pop_queue_handle = event_loop.delay_callback( - 0.01, self._pop_job, False) + 1., self._pop_job, False) async def _handle_shutdown(self) -> None: await self.pause_queue()