We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e48553e commit 8098196Copy full SHA for 8098196
arduino-core/src/cc/arduino/packages/Uploader.java
@@ -132,8 +132,8 @@ protected boolean executeUploadCommand(String command[]) throws Exception {
132
new MessageSiphon(process.getErrorStream(), this, 100);
133
134
// wait for the process to finish, but not forever
135
- // kill the flasher process after 2 minutes to avoid 100% cpu spinning
136
- if (!process.waitFor(2, TimeUnit.MINUTES)) {
+ // kill the flasher process after 5 minutes to avoid 100% cpu spinning
+ if (!process.waitFor(5, TimeUnit.MINUTES)) {
137
process.destroyForcibly();
138
}
139
if (!process.isAlive()) {
0 commit comments