diff --git a/hazelcast/src/hazelcast/util/Thread.cpp b/hazelcast/src/hazelcast/util/Thread.cpp index e7c0eea6f3..004895d3c8 100644 --- a/hazelcast/src/hazelcast/util/Thread.cpp +++ b/hazelcast/src/hazelcast/util/Thread.cpp @@ -71,7 +71,7 @@ namespace hazelcast { isInterrupted = false; throw thread_interrupted(); } - bool wokenUpbyInterruption = condition.waitFor(mutex, seconds); + bool wokenUpbyInterruption = condition.waitFor(mutex, seconds * 1000); if(wokenUpbyInterruption && isInterrupted){ isInterrupted = false; throw thread_interrupted();