Skip to content

Commit b8f9faf

Browse files
committed
JavaScript: Increase default RPC batch size to 1000
Aligns Java implementation's default with default we use on JavaScript side.
1 parent 278e92e commit b8f9faf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rewrite-core/src/main/java/org/openrewrite/rpc/RewriteRpc.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
@SuppressWarnings("UnusedReturnValue")
6262
public class RewriteRpc {
6363
private final JsonRpc jsonRpc;
64-
private final AtomicInteger batchSize = new AtomicInteger(200);
64+
private final AtomicInteger batchSize = new AtomicInteger(1000);
6565
private Duration timeout = Duration.ofSeconds(30);
6666
private Supplier<? extends @Nullable RuntimeException> livenessCheck = () -> null;
6767
private final AtomicReference<@Nullable PrintStream> log = new AtomicReference<>();

0 commit comments

Comments
 (0)