changeset 764:dc80677e532f

ReaderMain - NcEventSource.setParallel(false)
author Devel 2
date Fri, 15 Dec 2017 13:29:14 +0100
parents cb51fb3a6ebd
children 70b55498fb7e
files stress-tester/src/main/java/com/passus/st/ReaderMain.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stress-tester/src/main/java/com/passus/st/ReaderMain.java	Fri Dec 15 13:28:24 2017 +0100
+++ b/stress-tester/src/main/java/com/passus/st/ReaderMain.java	Fri Dec 15 13:29:14 2017 +0100
@@ -64,11 +64,11 @@
     }
 
     private void readNcFile(NcEventSource src) throws Exception {
+        src.setParallel(false);
         src.setHandler((event) -> printEvent(event));
 
         try {
             src.start();
-            src.join();
         } finally {
             src.stop();
         }