This is an automated email from the ASF dual-hosted git repository. cmcfarlen pushed a commit to branch NewAPIMetricsPOC in repository https://gitbox.apache.org/repos/asf/trafficserver.git
commit 929fb79cb2566914f358559fa59a13547f140a2c 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:
