From 935b5f43ba156fff9fa4bf10babf586aadf740cc Mon Sep 17 00:00:00 2001 From: puru Date: Mon, 14 Oct 2024 23:44:37 -0700 Subject: [PATCH] ZOOKEEPER-4869: Document more time units supported in autopurge.purgeInterval (#2195) The functionality was added in ZOOKEEPER-4829(#2178). Co-authored-by: purushah --- zookeeper-docs/src/main/resources/markdown/zookeeperAdmin.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zookeeper-docs/src/main/resources/markdown/zookeeperAdmin.md b/zookeeper-docs/src/main/resources/markdown/zookeeperAdmin.md index 5ad9fb45bca..ea63e780dfa 100644 --- a/zookeeper-docs/src/main/resources/markdown/zookeeperAdmin.md +++ b/zookeeper-docs/src/main/resources/markdown/zookeeperAdmin.md @@ -772,6 +772,10 @@ property, when available, is noted below. time interval in hours for which the purge task has to be triggered. Set to a positive integer (1 and above) to enable the auto purging. Defaults to 0. + **Suffix support added in 3.10.0:** The interval is specified as an integer with an optional suffix to indicate the time unit. + Supported suffixes are: `ms` for milliseconds, `s` for seconds, `m` for minutes, `h` for hours, and `d` for days. + For example, "10m" represents 10 minutes, and "5h" represents 5 hours. + If no suffix is provided, the default unit is hours. * *syncEnabled* : (Java system property: **zookeeper.observer.syncEnabled**)