Skip to content

Commit 935b5f4

Browse files
purushahpurushah
andauthored
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>
1 parent 75884ec commit 935b5f4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

zookeeper-docs/src/main/resources/markdown/zookeeperAdmin.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -772,6 +772,10 @@ property, when available, is noted below.
772772
time interval in hours for which the purge task has to
773773
be triggered. Set to a positive integer (1 and above)
774774
to enable the auto purging. Defaults to 0.
775+
**Suffix support added in 3.10.0:** The interval is specified as an integer with an optional suffix to indicate the time unit.
776+
Supported suffixes are: `ms` for milliseconds, `s` for seconds, `m` for minutes, `h` for hours, and `d` for days.
777+
For example, "10m" represents 10 minutes, and "5h" represents 5 hours.
778+
If no suffix is provided, the default unit is hours.
775779

776780
* *syncEnabled* :
777781
(Java system property: **zookeeper.observer.syncEnabled**)

0 commit comments

Comments
 (0)