Skip to content

Commit

Permalink
Feature/ver 1.1.2.1 (#12)
Browse files Browse the repository at this point in the history
* feature/ver-1.1.2.1: ver 1.1.2.1
  • Loading branch information
dsun0720 authored Sep 10, 2022
1 parent 557020f commit 3f8aec2
Show file tree
Hide file tree
Showing 14 changed files with 13 additions and 13 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2e409bc6c8a8db39c27753710d29143b
d8db1f317831d55db677e9194c857f3e
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8d8f9988501de6c55cbcfeaaca903b7eaa5ad6e2
45132b334ff172483c004396e0bbd82503287f2d
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0d1b37f9977393a6d003731c11be9183
94b9fd1d1e2199820961f4b8acde96dc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6cc7b92f336a7b6c6e9e52a94f5bbaf8f28cd945
4c47d65f086216a8b872d0543b917c8ba9de9b27
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
199b5bbde92e70dd0cbd2fb3d081237d
25390613b3a78c73db4f897dde61ccc5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
82bed758ad8da18faddad63b724b7f28ed2c45a6
df53ef1170b20e9bb2ff0a764e3050dc43030f05
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
<version>1.1.1</version>
<version>1.1.2</version>
</versions>
<lastUpdated>20220907052401</lastUpdated>
<lastUpdated>20220910071935</lastUpdated>
</versioning>
</metadata>
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ebe31dcc3d0612046e81250923e93e60
fbf190e814384b01d2833e7510367d9f
Original file line number Diff line number Diff line change
@@ -1 +1 @@
35664eb24d09000d73cb7c2cd53bcce44fd8aace
a6feec0899e895fb565aadbe52658dcddaacff7d
6 changes: 3 additions & 3 deletions src/main/java/co/featureflags/server/Insights.java
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ boolean isEmpty() {

private final static class FlushPayloadRunner implements Runnable {

private final static int MAX_EVENT_SIZE_PER_REQUEST = 100;
private final static int MAX_EVENT_SIZE_PER_REQUEST = 50;

private final InsightTypes.InsightConfig config;

Expand Down Expand Up @@ -190,7 +190,7 @@ public void run() {
}

public void stop() {
running.set(true);
running.set(false);
thread.interrupt();
Loggers.EVENTS.debug("flush payload worker is stopping...");
}
Expand Down Expand Up @@ -308,7 +308,7 @@ private void triggerFlush() {
// busy payload worker - 1
synchronized (busyFlushPayloadThreadNum) {
busyFlushPayloadThreadNum.decrementAndGet();
busyFlushPayloadThreadNum.notify();
busyFlushPayloadThreadNum.notifyAll();
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/co/featureflags/server/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public abstract class Utils {

public static Iterable<Map.Entry<String, String>> defaultHeaders(String envSecret) {
return ImmutableMap.of("envSecret", envSecret,
"User-Agent", "ffc-java-server-sdk4",
"User-Agent", "fb-java-server-sdk",
"Content-Type", "application/json")
.entrySet();
}
Expand Down

0 comments on commit 3f8aec2

Please sign in to comment.