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 d2f9d87 commit 770dd34Copy full SHA for 770dd34
framework/codemodder-base/src/main/java/io/codemodder/DefaultCodemodExecutor.java
@@ -162,11 +162,11 @@ public CodeTFResult execute(final List<Path> filePaths) {
162
163
executor.shutdown();
164
try {
165
- boolean success = executor.awaitTermination(5, TimeUnit.MINUTES);
+ boolean success = executor.awaitTermination(10, TimeUnit.MINUTES);
166
log.trace("Success running codemod: {}", success);
167
while (!executor.isTerminated()) {
168
executor.shutdownNow();
169
- final Future<String> future = service.poll();
+ final Future<String> future = service.poll(5, TimeUnit.SECONDS);
170
if (future != null) {
171
log.trace("Finished: {}", future.get());
172
}
0 commit comments