Skip to content

Commit

Permalink
Changed minimum value of rx2.buffer-size to 1 (#5391)
Browse files Browse the repository at this point in the history
Before the minimum value you could set with the system variable `rx2.buffer-size` was 16. With this commit, that is changed to 1.
  • Loading branch information
hvesalai authored and akarnokd committed Jun 3, 2017
1 parent 2fa773c commit a43265f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/reactivex/Flowable.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public abstract class Flowable<T> implements Publisher<T> {
/** The default buffer size. */
static final int BUFFER_SIZE;
static {
BUFFER_SIZE = Math.max(16, Integer.getInteger("rx2.buffer-size", 128));
BUFFER_SIZE = Math.max(1, Integer.getInteger("rx2.buffer-size", 128));
}

/**
Expand Down

0 comments on commit a43265f

Please sign in to comment.