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

Commit 9c14ba2

Browse files
bogdandrutusongy23
authored andcommitted
Increase the buffer size for the trace export batch. (#1911)
1 parent a95cc72 commit 9c14ba2

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)