Przeglądaj źródła

ZOOKEEPER-4869: Document more time units supported in autopurge.purgeInterval (#2195)

The functionality was added in ZOOKEEPER-4829(#2178).

Co-authored-by: purushah <purushah@yahooinc.com>
puru 9 miesięcy temu
rodzic
commit
935b5f43ba

+ 4 - 0
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
     time interval in hours for which the purge task has to
     be triggered. Set to a positive integer (1 and above)
     be triggered. Set to a positive integer (1 and above)
     to enable the auto purging. Defaults to 0.
     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* :
 * *syncEnabled* :
     (Java system property: **zookeeper.observer.syncEnabled**)
     (Java system property: **zookeeper.observer.syncEnabled**)