8000 added more timout (stringresolution) · Dynatrace/OneAgent-SDK-for-Java@73faf80 · GitHub
[go: up one dir, main page]

Skip to content 65F1

Commit 73faf80

Browse files
author
labuser
committed
added more timout (stringresolution)
1 parent 9e83ccd commit 73faf80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/webrequest/src/main/java/com/dynatrace/oneagent/sdk/samples/webrequest/IncomingWebRequestApp.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public static void main(String args[]) {
6464
IncomingWebRequestApp app = new IncomingWebRequestApp();
6565
app.runIncomingWebrequest();
6666
System.out.println("sample application stopped. sleeping a while, so OneAgent is able to send data to server ...");
67-
Thread.sleep(15000); // we have to wait - so OneAgent is able to send data to server
67+
Thread.sleep(15000 * 3); // we have to wait - so OneAgent is able to send data to server
6868
} catch (Exception e) {
6969
System.err.println("in-process-linking sample failed: " + e.getMessage());
7070
e.printStackTrace();
@@ -77,4 +77,4 @@ private void runIncomingWebrequest() throws IOException, ClassNotFoundException,
7777
webServer.serve(new HttpRequest("/billing/showBill?id=234324", "GET", "192.168.13.14"));
7878
}
7979

80-
}
80+
}

0 commit comments

Comments
 (0)
0