diff --git a/Commons/src/main/java/org/ow2/choreos/invoker/timeouted/TimeoutedInvoker.java b/Commons/src/main/java/org/ow2/choreos/invoker/timeouted/TimeoutedInvoker.java index 32d47032..e8a2da84 100644 --- a/Commons/src/main/java/org/ow2/choreos/invoker/timeouted/TimeoutedInvoker.java +++ b/Commons/src/main/java/org/ow2/choreos/invoker/timeouted/TimeoutedInvoker.java @@ -28,7 +28,8 @@ class TimeoutedInvoker implements Invoker { public TimeoutedInvoker(String taskName, Callable task, int timeout, TimeUnit timeUnit) { this.taskName = taskName; this.task = task; - this.timeout = timeout; + this.timeout = timeout; + this.timeUnit = timeUnit; } @Override