HylaFAX The world's most advanced open source fax server |
On 13 July 2010 16:46, Dominique dHotman <dominique@xxxxxxxxxxxxxx> wrote:OK, here's an additional patch to make that error nicer if the
> I'll try the have a look at the patch tomorrow morning but in response to
> your question:
>>I'm confused... when JOB_DEAD is fired on that, is "[Job time limit
>>exceeded]" not part of the status messages in the job q-file?
>
> The status: message in the job file is null.
> I'll let you know as soon as I've test the patch.
timed-out converter hasn't produce any output (like the sleep 6000 I
tested with):
diff --git a/faxd/faxQueueApp.c++ b/faxd/faxQueueApp.c++index d99aad1..dcea4e6 100644
--- a/faxd/faxQueueApp.c++@@ -1335,7 +1336,9 @@ faxQueueApp::runConverter1(Job& job, int fd,
+++ b/faxd/faxQueueApp.c++
fxStr& output)
timer.stopTimeout();
if (timer.wasTimeout()) {
jobError(job, "CONVERT DOCUMENT: job time limit exceeded");
- output.append("\n[Job time limit exceeded]\n");
+ if (output.length() > 0)
+ output.append('\n');
+ output.append("[Job time limit exceeded]\n");
return (false);
} else
return (true);
a.
--
Aidan Van Dyk aidan@xxxxxxxx
Senior Software Developer +1 215 825-8700 x8103
iFAX Solutions, Inc. http://www.ifax.com/