Skip to content

Commit

Permalink
Merge pull request #1733 from DataDog/mconstantin/rum-1835/update-def…
Browse files Browse the repository at this point in the history
…ault-uploading-configuration

RUM-1835 Lower the upload frequency and batch size enum values
  • Loading branch information
mariusc83 authored Nov 20, 2023
2 parents 8e099c0 + 619926c commit 1b499cf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ enum class BatchSize(
) {

/** Prefer small batches. **/
SMALL(5000L),
SMALL(3000L),

/** Prefer medium sized batches. **/
MEDIUM(15000L),
MEDIUM(10000L),

/** Prefer large batches. **/
LARGE(60000L);
LARGE(35000L);
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ enum class UploadFrequency(
) {

/** Try to upload batch data frequently. */
FREQUENT(1000L),
FREQUENT(500L),

/** Try to upload batch data with a medium frequency. */
AVERAGE(5000L),
AVERAGE(2000L),

/** Try to upload batch data rarely. */
RARE(10000L)
RARE(5000L)
}

0 comments on commit 1b499cf

Please sign in to comment.