Loading cmds/statsd/src/guardrail/StatsdStats.h +2 −2 Original line number Diff line number Diff line Loading @@ -113,7 +113,7 @@ public: // Max memory allowed for storing metrics per configuration. If this limit is exceeded, statsd // drops the metrics data in memory. static const size_t kMaxMetricsBytesPerConfig = 256 * 1024; static const size_t kMaxMetricsBytesPerConfig = 2 * 1024 * 1024; // Soft memory limit per configuration. Once this limit is exceeded, we begin notifying the // data subscriber that it's time to call getData. Loading @@ -130,7 +130,7 @@ public: static const int64_t kMinBroadcastPeriodNs = 60 * NS_PER_SEC; /* Min period between two checks of byte size per config key in nanoseconds. */ static const int64_t kMinByteSizeCheckPeriodNs = 10 * NS_PER_SEC; static const int64_t kMinByteSizeCheckPeriodNs = 60 * NS_PER_SEC; // Maximum age (30 days) that files on disk can exist in seconds. static const int kMaxAgeSecond = 60 * 60 * 24 * 30; Loading Loading
cmds/statsd/src/guardrail/StatsdStats.h +2 −2 Original line number Diff line number Diff line Loading @@ -113,7 +113,7 @@ public: // Max memory allowed for storing metrics per configuration. If this limit is exceeded, statsd // drops the metrics data in memory. static const size_t kMaxMetricsBytesPerConfig = 256 * 1024; static const size_t kMaxMetricsBytesPerConfig = 2 * 1024 * 1024; // Soft memory limit per configuration. Once this limit is exceeded, we begin notifying the // data subscriber that it's time to call getData. Loading @@ -130,7 +130,7 @@ public: static const int64_t kMinBroadcastPeriodNs = 60 * NS_PER_SEC; /* Min period between two checks of byte size per config key in nanoseconds. */ static const int64_t kMinByteSizeCheckPeriodNs = 10 * NS_PER_SEC; static const int64_t kMinByteSizeCheckPeriodNs = 60 * NS_PER_SEC; // Maximum age (30 days) that files on disk can exist in seconds. static const int kMaxAgeSecond = 60 * 60 * 24 * 30; Loading