This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch NewAPIMetricsPOC
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/NewAPIMetricsPOC by this push:
new 754b69182b Fix the two array sizes to be correct
754b69182b is described below
commit 754b69182b62c655d9345b592a2841c902c10ed4
Author: Leif Hedstrom <[email protected]>
AuthorDate: Thu Jul 6 14:18:40 2023 -0600
Fix the two array sizes to be correct
---
include/api/Metrics.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/api/Metrics.h b/include/api/Metrics.h
index aa7ab61168..0379c7ceb4 100644
--- a/include/api/Metrics.h
+++ b/include/api/Metrics.h
@@ -43,8 +43,8 @@ private:
using AtomicType = std::atomic<int64_t>;
public:
- static constexpr uint16_t METRICS_MAX_BLOBS = 2048;
- static constexpr uint16_t METRICS_MAX_SIZE = 8192; // For a total of
16M metrics
+ static constexpr uint16_t METRICS_MAX_BLOBS = 8192;
+ static constexpr uint16_t METRICS_MAX_SIZE = 2048; // For a total of
16M metrics
static constexpr IdType NOT_FOUND = INT32_MIN; // <16-bit,16-bit>
= <blob-index,offset>
private: