Commit 3c9a4d26 authored by Florian Fittkau's avatar Florian Fittkau

minor

parent 597eff85
......@@ -28,7 +28,7 @@ public class Main extends JFrame {
* the desired thread amount and low values. Afterwards, adjust the constant
* accordingly.
*/
private static final float SESSION_TO_REQUEST_RATIO = 2.6f;
private static final float SESSION_TO_REQUEST_RATIO = 2.1f;
private static final int JMETER_INSTANCES = 1;
......@@ -92,7 +92,7 @@ public class Main extends JFrame {
}
private static double getWorkload(float expiredMinute) {
final double numSessions = ((int) (((numSessions(expiredMinute) / 2d) * INTENSITY) * 100d)) / 100d;
final double numSessions = ((numSessions(expiredMinute) / 2d) * INTENSITY);
return numSessions > 1 ? numSessions : 1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment