File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ static std::atomic<int64_t>& cache_demand_release_short_interval_ns() {
152
152
#if defined(TCMALLOC_INTERNAL_SMALL_BUT_SLOW)
153
153
absl::ZeroDuration ()
154
154
#else
155
- absl::Seconds (60 )
155
+ absl::Seconds (10 )
156
156
#endif
157
157
),
158
158
std::memory_order_relaxed);
@@ -170,7 +170,7 @@ static std::atomic<int64_t>& cache_demand_release_long_interval_ns() {
170
170
#if defined(TCMALLOC_INTERNAL_SMALL_BUT_SLOW)
171
171
absl::ZeroDuration ()
172
172
#else
173
- absl::Seconds (300 )
173
+ absl::Seconds (30 )
174
174
#endif
175
175
),
176
176
std::memory_order_relaxed);
Original file line number Diff line number Diff line change @@ -117,10 +117,10 @@ TEST_F(GetStatsTest, Pbtxt) {
117
117
#else
118
118
EXPECT_THAT (
119
119
buf, HasSubstr (
120
- " tcmalloc_cache_demand_release_short_interval_ns: 60000000000 " ));
120
+ " tcmalloc_cache_demand_release_short_interval_ns: 10000000000 " ));
121
121
EXPECT_THAT (
122
- buf, HasSubstr (
123
- " tcmalloc_cache_demand_release_long_interval_ns: 300000000000 " ));
122
+ buf,
123
+ HasSubstr ( " tcmalloc_cache_demand_release_long_interval_ns: 30000000000 " ));
124
124
#endif
125
125
EXPECT_THAT (buf, HasSubstr (" tcmalloc_release_partial_alloc_pages: true" ));
126
126
EXPECT_THAT (buf,
You can’t perform that action at this time.
0 commit comments