Skip to content

Commit a43265f

Browse files
hvesalaiakarnokd
authored andcommitted
Changed minimum value of rx2.buffer-size to 1 (#5391)
Before the minimum value you could set with the system variable `rx2.buffer-size` was 16. With this commit, that is changed to 1.
1 parent 2fa773c commit a43265f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/reactivex/Flowable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public abstract class Flowable<T> implements Publisher<T> {
6060
/** The default buffer size. */
6161
static final int BUFFER_SIZE;
6262
static {
63-
BUFFER_SIZE = Math.max(16, Integer.getInteger("rx2.buffer-size", 128));
63+
BUFFER_SIZE = Math.max(1, Integer.getInteger("rx2.buffer-size", 128));
6464
}
6565

6666
/**

0 commit comments

Comments
 (0)