summaryrefslogtreecommitdiff
path: root/lib/xray/xray_flags.inc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xray/xray_flags.inc')
-rw-r--r--lib/xray/xray_flags.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/xray/xray_flags.inc b/lib/xray/xray_flags.inc
index 470db45d7..c4238ff88 100644
--- a/lib/xray/xray_flags.inc
+++ b/lib/xray/xray_flags.inc
@@ -37,7 +37,9 @@ XRAY_FLAG(bool, xray_fdr_log, false,
XRAY_FLAG(int, xray_fdr_log_func_duration_threshold_us, 5,
"FDR logging will try to skip functions that execute for fewer "
"microseconds than this threshold.")
-XRAY_FLAG(int, xray_fdr_log_grace_period_us, 100000,
+XRAY_FLAG(int, xray_fdr_log_grace_period_us, 0,
+ "DEPRECATED: use xray_fdr_log_grace_period_ms instead.")
+XRAY_FLAG(int, xray_fdr_log_grace_period_ms, 100,
"FDR logging will wait this much time in microseconds before "
"actually flushing the log; this gives a chance for threads to "
"notice that the log has been finalized and clean up.")