mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
tested fix for initializer race condition with multiple activities in sequence
This commit is contained in:
@@ -417,7 +417,7 @@ public class ActivityExecutor implements ActivityController, ParameterMap.Listen
|
||||
}
|
||||
}
|
||||
|
||||
public void startActivity() {
|
||||
public synchronized void startActivity() {
|
||||
// we need an executor service to run motor threads on
|
||||
startMotorExecutorService();
|
||||
startRunningActivityThreads();
|
||||
|
||||
Reference in New Issue
Block a user