Skip to content

Commit

Permalink
fix: the request limit should be 10MB instead of 8MB (#1289)
Browse files Browse the repository at this point in the history
  • Loading branch information
yirutang committed Sep 3, 2021
1 parent c2dcf6f commit ed1ea00
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -136,7 +136,7 @@ public class StreamWriterV2 implements AutoCloseable {

/** The maximum size of one request. Defined by the API. */
public static long getApiMaxRequestBytes() {
return 8L * 1000L * 1000L; // 8 megabytes (https://en.wikipedia.org/wiki/Megabyte)
return 10L * 1000L * 1000L; // 8 megabytes (https://en.wikipedia.org/wiki/Megabyte)
}

private StreamWriterV2(Builder builder) throws IOException {
Expand Down

0 comments on commit ed1ea00

Please sign in to comment.