From fd8e2bdb2da53db37831baaa0db2a05fc47fc2aa Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 18 Nov 2019 15:39:32 -0500 Subject: [PATCH] Don't wait for held jobs to complete. --- backend/ipp.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/backend/ipp.c b/backend/ipp.c index b2b22065ef..60a4ef20f6 100644 --- a/backend/ipp.c +++ b/backend/ipp.c @@ -2124,11 +2124,10 @@ main(int argc, /* I - Number of command-line args */ job_sheets->values[0].integer); /* - * Stop polling if the job is finished or pending-held for 30 seconds... + * Stop polling if the job is finished or pending-held... */ - if (job_state->values[0].integer > IPP_JSTATE_STOPPED || - (job_state->values[0].integer == IPP_JSTATE_HELD && time(NULL) > waittime)) + if (job_state->values[0].integer > IPP_JSTATE_STOPPED || job_state->values[0].integer == IPP_JSTATE_HELD) { ippDelete(response); break; -- 2.47.2