From 6acc33cd16e6ad6222d5145f894c6bd1bab3593e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Wed, 18 Sep 2024 16:09:38 +0800 Subject: [PATCH] Processing: increase the default value of `processingTimeout` For 756865855b111d835f1ee1002f88ecf7b83eb5b7 --- doc/json_schema.json | 2 +- src/data/help.json | 2 +- src/options/general.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/json_schema.json b/doc/json_schema.json index e985921a7..0ebda7d2c 100644 --- a/doc/json_schema.json +++ b/doc/json_schema.json @@ -337,7 +337,7 @@ "processingTimeout": { "type": "integer", "description": "Set the timeout (ms) when waiting for child processes, `-1` for no timeout", - "default": 1000 + "default": 5000 }, "preRun": { "type": "string", diff --git a/src/data/help.json b/src/data/help.json index f6c1ffc2f..486c6c61f 100644 --- a/src/data/help.json +++ b/src/data/help.json @@ -128,7 +128,7 @@ "desc": "Set the timeout (ms) when waiting for child processes", "arg": { "type": "num", - "default": 1000 + "default": 5000 } }, { diff --git a/src/options/general.c b/src/options/general.c index c1eabf9cd..abb8d1054 100644 --- a/src/options/general.c +++ b/src/options/general.c @@ -111,7 +111,7 @@ bool ffOptionsParseGeneralCommandLine(FFOptionsGeneral* options, const char* key void ffOptionsInitGeneral(FFOptionsGeneral* options) { - options->processingTimeout = 1000; + options->processingTimeout = 5000; options->multithreading = true; options->detectVersion = true;