Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

Commit

Permalink
Merge pull request #177 from koxudaxi/change_command_timeout_to_30_sec
Browse files Browse the repository at this point in the history
Change command timeout to 30 sec
  • Loading branch information
koxudaxi committed Feb 8, 2021
2 parents ceb5629 + 53aab0e commit dbae674
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions resources/META-INF/plugin.xml
Expand Up @@ -7,6 +7,7 @@
<h2>version 1.0.6</h2>
<p>Bug fixes</p>
<ul>
<li>Change command timeout to 30 sec [#177]</li>
<li>Fix broken dependency on Toml plugin [#176]</li>
</ul>
<h2>version 1.0.5</h2>
Expand Down
4 changes: 2 additions & 2 deletions src/com/koxudaxi/poetry/poetry.kt
Expand Up @@ -674,7 +674,7 @@ inline fun <reified T> syncRunCommand(projectPath: @SystemDependent String, comm
} catch (e: ProcessNotCreatedException) {
defaultResult
}
}.get(10, TimeUnit.SECONDS)
}.get(30, TimeUnit.SECONDS)
} catch (e: TimeoutException) {
defaultResult
}
Expand All @@ -691,7 +691,7 @@ inline fun <reified T> syncRunPoetry(projectPath: @SystemDependent String?, vara
} catch (e: ProcessNotCreatedException) {
defaultResult
}
}.get(10, TimeUnit.SECONDS)
}.get(30, TimeUnit.SECONDS)
} catch (e: TimeoutException) {
defaultResult
}
Expand Down

0 comments on commit dbae674

Please sign in to comment.