Skip to content

Commit

Permalink
pass to fetcher in javafetcher
Browse files Browse the repository at this point in the history
  • Loading branch information
divyamanohar-stripe committed Feb 21, 2024
1 parent caa220b commit 1166f21
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion online/src/main/java/ai/chronon/online/JavaFetcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.concurrent.CompletableFuture;
import java.util.function.BiPredicate;
import java.util.function.Consumer;
Expand All @@ -35,7 +36,7 @@ public class JavaFetcher {
Fetcher fetcher;

public JavaFetcher(KVStore kvStore, String metaDataSet, Long timeoutMillis, Consumer<LoggableResponse> logFunc, ExternalSourceRegistry registry, BiPredicate<String, Map<String, String>> featureFlags) {
this.fetcher = new Fetcher(kvStore, metaDataSet, timeoutMillis, logFunc, false, registry);
this.fetcher = new Fetcher(kvStore, metaDataSet, timeoutMillis, logFunc, false, registry, featureFlags);
}

public static List<JavaResponse> toJavaResponses(Seq<Response> responseSeq) {
Expand Down

0 comments on commit 1166f21

Please sign in to comment.