Skip to content

Commit 368830a

Browse files
chillaqsanzmauro
andauthored
Update client/src/main/java/io/split/engine/experiments/SplitFetcherImp.java
Co-authored-by: Mauro Sanz <[email protected]>
1 parent efd2605 commit 368830a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

client/src/main/java/io/split/engine/experiments/SplitFetcherImp.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ private Set<String> runWithoutExceptionHandling(FetchOptions options) throws Int
121121
throw new IllegalStateException("SplitChange was null");
122122
}
123123

124-
if (checkExitConditions(change)) {
124+
if (checkExitConditions(change.featureFlags, _splitCacheProducer.getChangeNumber()) &&
125+
checkExitConditions(change.ruleBasedSegments, _ruleBasedSegmentCacheProducer.getChangeNumber())) {
125126
return segments;
126127
}
127128

0 commit comments

Comments
 (0)