Skip to content

Commit

Permalink
0003738: Batch in error on a reload channel by default blocks all other
Browse files Browse the repository at this point in the history
channels. Should not block config channel though.
  • Loading branch information
jumpmind-josh committed Oct 2, 2018
1 parent 20f722e commit 7b4542e
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -31,6 +31,7 @@
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import org.jumpmind.symmetric.common.Constants;

/**
* A container for {@link OutgoingBatch}s.
Expand Down Expand Up @@ -122,7 +123,7 @@ public List<OutgoingBatch> filterBatchesForChannels(Set<String> channels) {
public void removeNonLoadBatches() {
for (Iterator<OutgoingBatch> iterator = batches.iterator(); iterator.hasNext();) {
OutgoingBatch b = iterator.next();
if (!b.isLoadFlag()) {
if (!b.isLoadFlag() && !b.getChannelId().contentEquals(Constants.CHANNEL_CONFIG)) {
iterator.remove();
}
}
Expand Down

0 comments on commit 7b4542e

Please sign in to comment.