Skip to content

Commit 5e0ed99

Browse files
committed
Allow for slower jps execution
1 parent 0fa642e commit 5e0ed99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal-api/src/main/java/datadog/trace/util/PidHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public static Set<String> getJavaPids() {
9191
return Collections.emptySet();
9292
}
9393
});
94-
if (p.waitFor(500, TimeUnit.MILLISECONDS)) {
94+
if (p.waitFor(1200, TimeUnit.MILLISECONDS)) {
9595
if (p.exitValue() == 0) {
9696
return collecting.get();
9797
} else {

0 commit comments

Comments
 (0)