From 96e5aed16296ee3de3de8f760f478acfc618a471 Mon Sep 17 00:00:00 2001 From: Thomas Schouten Date: Sat, 28 Dec 2024 14:27:20 +0100 Subject: [PATCH] Update timout --- .../latex/probablebugs/packages/LatexPackageUpdateInspection.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nl/hannahsten/texifyidea/inspections/latex/probablebugs/packages/LatexPackageUpdateInspection.kt b/src/nl/hannahsten/texifyidea/inspections/latex/probablebugs/packages/LatexPackageUpdateInspection.kt index 80010f2d1..10bfc761d 100644 --- a/src/nl/hannahsten/texifyidea/inspections/latex/probablebugs/packages/LatexPackageUpdateInspection.kt +++ b/src/nl/hannahsten/texifyidea/inspections/latex/probablebugs/packages/LatexPackageUpdateInspection.kt @@ -90,7 +90,7 @@ class LatexPackageUpdateInspection : TexifyInspectionBase() { override fun run(indicator: ProgressIndicator) { val tlmgrExecutable = LatexSdkUtil.getExecutableName("tlmgr", project) - val timeout: Long = if (packageName == "--all") 600 else 15 + val timeout: Long = if (packageName == "--all") 1200 else 15 var (output, exitCode) = runCommandWithExitCode(tlmgrExecutable, "update", packageName, returnExceptionMessage = true, timeout = timeout) if (output?.contains("tlmgr update --self") == true) { val (tlmgrOutput, tlmgrExitCode) = runCommandWithExitCode(tlmgrExecutable, "update", "--self", returnExceptionMessage = true, timeout = 20)