Skip to content

Commit

Permalink
✨ feat: Default polling mode sync (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
gangb-tech authored Jun 14, 2023
1 parent 090fa68 commit 15dc743
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.featureprobe</groupId>
<artifactId>server-sdk-java</artifactId>
<version>2.2.1</version>
<version>2.2.2</version>
<name>server-sdk-java</name>
<description>FeatureProbe Server Side SDK for Java</description>

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/featureprobe/sdk/server/FPConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ protected FPConfig(Builder builder) {
this.remoteUri = builder.remoteUri;
this.location = builder.location;
this.synchronizerFactory =
builder.synchronizer == null ? new StreamingSynchronizerFactory() : builder.synchronizer;
builder.synchronizer == null ? new PollingSynchronizerFactory() : builder.synchronizer;
this.dataRepositoryFactory =
builder.dataRepository == null ? new MemoryDataRepositoryFactory() : builder.dataRepository;
this.eventProcessorFactory = new DefaultEventProcessorFactory();
Expand Down

0 comments on commit 15dc743

Please sign in to comment.