Skip to content
This repository was archived by the owner on Dec 23, 2023. It is now read-only.

Commit 1b08753

Browse files
authored
Increase the buffer size for the trace export batch. (#1911) (#1912)
(cherry picked from commit 9c14ba2)
1 parent 819443c commit 1b08753

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

impl_core/src/main/java/io/opencensus/implcore/trace/export/ExportComponentImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
/** Implementation of the {@link ExportComponent}. */
2626
public final class ExportComponentImpl extends ExportComponent {
27-
private static final int EXPORTER_BUFFER_SIZE = 32;
27+
private static final int EXPORTER_BUFFER_SIZE = 512;
2828
// Enforces that trace export exports data at least once every 5 seconds.
2929
private static final Duration EXPORTER_SCHEDULE_DELAY = Duration.create(5, 0);
3030

0 commit comments

Comments
 (0)