Skip to content

Commit

Permalink
try using more and larger buffers
Browse files Browse the repository at this point in the history
Signed-off-by: Luke Steensen <luke.steensen@gmail.com>
  • Loading branch information
lukesteensen committed Feb 15, 2025
1 parent 9cb0d3d commit 268625f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/saluki-components/src/destinations/datadog/metrics/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ use super::common::{config::ForwarderConfiguration, io::TransactionForwarder, te
mod request_builder;
use self::request_builder::{MetricsEndpoint, RequestBuilder};

const RB_BUFFER_POOL_COUNT: usize = 128;
const RB_BUFFER_POOL_BUF_SIZE: usize = 32_768;
const RB_BUFFER_POOL_COUNT: usize = 256;
const RB_BUFFER_POOL_BUF_SIZE: usize = 2 ^ 16;

const fn default_max_metrics_per_payload() -> usize {
10_000
Expand Down

0 comments on commit 268625f

Please sign in to comment.