diff --git a/theodolite-benchmarks/load-generator-commons/src/main/java/rocks/theodolite/benchmarks/loadgenerator/EnvVarLoadGeneratorFactory.java b/theodolite-benchmarks/load-generator-commons/src/main/java/rocks/theodolite/benchmarks/loadgenerator/EnvVarLoadGeneratorFactory.java
index 3772e3b03e39092d8e9181bac0f553934ee73e2d..5801b850a70cafbc0a97f9da4f57099203cfd695 100644
--- a/theodolite-benchmarks/load-generator-commons/src/main/java/rocks/theodolite/benchmarks/loadgenerator/EnvVarLoadGeneratorFactory.java
+++ b/theodolite-benchmarks/load-generator-commons/src/main/java/rocks/theodolite/benchmarks/loadgenerator/EnvVarLoadGeneratorFactory.java
@@ -125,7 +125,7 @@ class EnvVarLoadGeneratorFactory {
       final long timeoutMs = Integer.parseInt(Objects.requireNonNullElse(
           System.getenv(ConfigurationKeys.HTTP_TIMEOUT_MS),
           Long.toString(LoadGenerator.HTTP_TIMEOUT_MS_DEFAULT)));
-      recordSender = new HttpRecordSender<>(url, async, Duration.ofSeconds(timeoutMs));
+      recordSender = new HttpRecordSender<>(url, async, Duration.ofMillis(timeoutMs));
       LOGGER.info("Use HTTP server as target with URL '{}' and asynchronously: '{}'.", url, async);
     } else if (target == LoadGeneratorTarget.PUBSUB) {
       final String project = System.getenv(ConfigurationKeys.PUBSUB_PROJECT);