From bfd07cbbc0ee00744ba871949876453c7dd2d8e4 Mon Sep 17 00:00:00 2001 From: nroskill Date: Wed, 28 Jun 2023 07:42:07 +0000 Subject: [PATCH] update faststack min_interval to 30min --- deps/oblib/src/lib/signal/ob_signal_handlers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/oblib/src/lib/signal/ob_signal_handlers.cpp b/deps/oblib/src/lib/signal/ob_signal_handlers.cpp index 92588b4f30..7ad8b72301 100644 --- a/deps/oblib/src/lib/signal/ob_signal_handlers.cpp +++ b/deps/oblib/src/lib/signal/ob_signal_handlers.cpp @@ -261,7 +261,7 @@ int minicoredump(int sig, int64_t tid, pid_t& pid) int faststack() { - static constexpr int64_t MIN_INTERVAL = 1 * 60 * 1000 * 1000; // 1min + static constexpr int64_t MIN_INTERVAL = 30 * 60 * 1000 * 1000; // 30min static int64_t last_ts = 0; int64_t now = ObTimeUtility::fast_current_time(); int64_t last = ATOMIC_LOAD(&last_ts);