job_queue: increase ready job delay

Delay for a full second before processing a job after
Klippy reports ready.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2022-04-18 19:42:14 -04:00
parent bbd5d8a1a1
commit 65946ef857
No known key found for this signature in database
GPG Key ID: 7027245FBBDDF59A
1 changed files with 1 additions and 1 deletions

View File

@ -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()