Skip to content

Commit a18e73f

Browse files
committed
bump version
1 parent 26213dd commit a18e73f

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

client/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>io.split.client</groupId>
77
<artifactId>java-client-parent</artifactId>
8-
<version>4.0.1</version>
8+
<version>4.1.0-rc1</version>
99
</parent>
1010
<artifactId>java-client</artifactId>
1111
<packaging>jar</packaging>

client/src/main/java/io/split/client/impressions/ImpressionsManagerImpl.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ public class ImpressionsManagerImpl implements ImpressionsManager, Closeable {
3030

3131
private static final long BULK_INITIAL_DELAY_SECONDS = 10L;
3232
private static final long COUNT_INITIAL_DELAY_SECONDS = 100L;
33+
private static final long COUNT_REFRESH_RATE_SECONDS = 30 * 60;
3334
private static final long LAST_SEEN_CACHE_SIZE = 500000; // cache up to 500k impression hashes
3435

3536
private final SplitClientConfig _config;
@@ -71,7 +72,7 @@ private ImpressionsManagerImpl(CloseableHttpClient client,
7172
_scheduler = buildExecutor();
7273
_scheduler.scheduleAtFixedRate(this::sendImpressions, BULK_INITIAL_DELAY_SECONDS,config.impressionsRefreshRate(), TimeUnit.SECONDS);
7374
if (Mode.OPTIMIZED.equals(_mode)) {
74-
_scheduler.scheduleAtFixedRate(this::sendImpressionCounters, COUNT_INITIAL_DELAY_SECONDS, config.impressionsRefreshRate(), TimeUnit.SECONDS);
75+
_scheduler.scheduleAtFixedRate(this::sendImpressionCounters, COUNT_INITIAL_DELAY_SECONDS, COUNT_REFRESH_RATE_SECONDS, TimeUnit.SECONDS);
7576
}
7677

7778
_listener = (null != listeners && !listeners.isEmpty()) ? new ImpressionListener.FederatedImpressionListener(listeners)

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>io.split.client</groupId>
66
<artifactId>java-client-parent</artifactId>
7-
<version>4.0.1</version>
7+
<version>4.1.0-rc1</version>
88
<dependencyManagement>
99
<dependencies>
1010
<dependency>

testing/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>io.split.client</groupId>
88
<artifactId>java-client-parent</artifactId>
9-
<version>4.0.1</version>
9+
<version>4.1.0-rc1</version>
1010
</parent>
1111

1212
<artifactId>java-client-testing</artifactId>

0 commit comments

Comments
 (0)