Skip to content

Commit

Permalink
Update timout
Browse files Browse the repository at this point in the history
  • Loading branch information
PHPirates committed Dec 28, 2024
1 parent ed9549c commit 96e5aed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 96e5aed

Please sign in to comment.