Skip to content

Commit

Permalink
Merge pull request #931 from LSXAxeller/master
Browse files Browse the repository at this point in the history
Fix: Increase Vulkan detection timeout to 12 seconds
  • Loading branch information
martindevans authored Oct 1, 2024
2 parents c9a9b75 + 6df1b09 commit ce8b05c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions LLama/Native/Load/SystemInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,11 @@ public static SystemInfo Get()
CreateNoWindow = true
}
};
var (exitCode, output, error, ok) = process.SafeRun(TimeSpan.FromSeconds(1));
var (exitCode, output, error, ok) = process.SafeRun(TimeSpan.FromSeconds(12));

if (!ok)
return null;

// Return the output
return output;
// If ok return the output else return null
return ok ? output :
null;
}
catch
{
Expand Down

0 comments on commit ce8b05c

Please sign in to comment.