Skip to content

Commit f062d5e

Browse files
authored
Decrease timeout for Python version check
to avoid possible blocking
1 parent 2820beb commit f062d5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/installer/get-python.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ async function isValidPythonVersion(executable) {
218218
const { execSync } = require('child_process');
219219
const output = execSync(`"${executable}" --version`, {
220220
encoding: 'utf8',
221-
timeout: 3000,
221+
timeout: 1000,
222222
stdio: ['ignore', 'pipe', 'pipe']
223223
});
224224

0 commit comments

Comments
 (0)