Skip to content

Commit 36a0c27

Browse files
committed
Processing: suggest increasing --processing-timeout when child process timeouts
1 parent 418106c commit 36a0c27

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/common/processing_linux.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const char* ffProcessAppendOutput(FFstrbuf* buffer, char* const argv[], bool use
6868
{
6969
kill(childPid, SIGTERM);
7070
waitpid(childPid, NULL, 0);
71-
return "poll(&pollfd, 1, timeout) timeout";
71+
return "poll(&pollfd, 1, timeout) timeout (try increasing --processing-timeout)";
7272
}
7373
else if (pollfd.revents & POLLERR)
7474
{

src/common/processing_windows.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ const char* ffProcessAppendOutput(FFstrbuf* buffer, char* const argv[], bool use
9696
{
9797
CancelIo(hChildPipeRead);
9898
TerminateProcess(hProcess, 1);
99-
return "WaitForSingleObject(hChildPipeRead) failed or timeout";
99+
return "WaitForSingleObject(hChildPipeRead) failed or timeout (try increasing --processing-timeout)";
100100
}
101101

102102
if (!GetOverlappedResult(hChildPipeRead, &overlapped, &nRead, FALSE))

0 commit comments

Comments
 (0)