Navigation Menu

Skip to content

Commit

Permalink
0002478: Failed to route and batch on channel
Browse files Browse the repository at this point in the history
  • Loading branch information
erilong committed Jan 29, 2016
1 parent 48a87cc commit 8dfb218
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -74,7 +74,7 @@ public class DataGapRouteReader implements IDataToRouteReader {

protected ISymmetricEngine engine;

protected boolean reading = true;
protected volatile boolean reading = true;

protected int peekAheadCount = 1000;

Expand Down Expand Up @@ -251,6 +251,7 @@ public Data take() throws InterruptedException {
throw new SymmetricException("The read of the data to route queue has timed out");
} else if (data instanceof EOD) {
data = null;
break;
}

} while (data == null && reading);
Expand Down

0 comments on commit 8dfb218

Please sign in to comment.