We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 721fc2d commit bca3958Copy full SHA for bca3958
client/src/main/java/io/split/engine/segments/SegmentSynchronizationTaskImp.java
@@ -161,8 +161,8 @@ public void fetchAll(boolean addCacheHeader) {
161
}
162
163
public boolean fetchAllSynchronous() {
164
- _splitCacheConsumer.getSegments().forEach(this::initialize);
165
- _ruleBasedSegmentCacheConsumer.getSegments().forEach(this::initialize);
+ Set<String> names = getSegmentNames();
+ names.forEach(this::initialize);
166
List<Future<Boolean>> segmentFetchExecutions = _segmentFetchers.entrySet()
167
.stream().map(e -> _scheduledExecutorService.submit(e.getValue()::runWhitCacheHeader))
168
.collect(Collectors.toList());
0 commit comments