Skip to content

Commit d2800cf

Browse files
Apply suggestions from code review
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent e993809 commit d2800cf

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/src/user-guide/guides-retention.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ CLP can automatically delete *archives* and/or *search results* once they're old
44
retention period. This guide explains:
55

66
* [How retention works in CLP](#how-retention-works)
7-
* [How to configure a retention](#retention-settings)
7+
* [How to configure retention](#retention-settings)
88
* [Additional concerns worth noting](#additional-concerns)
99

1010
## How retention works
@@ -108,7 +108,7 @@ For example, let's say:
108108
When the garbage collector runs, it will evaluate the archive's expiry criteria, substituting
109109
$08:00$ for $data\_timestamp$, and $01:01$ for $current\_time$, since $09:01$ AWST = $01:01$ UTC.
110110
The equation then becomes $08:00 < 01:01 - 01:00$, which evaluates to false. Thus, the garbage
111-
collector won't delete the archive; in fact it won't delete it until 09:01 UTC, which is 8 hours
111+
collector won't delete the archive; in fact, it won't delete it until 09:01 UTC, which is 8 hours
112112
later than it should've been deleted.
113113

114114
Similarly, archives may be deleted prematurely if your log events use timestamps in a time zone that
@@ -147,10 +147,9 @@ This setting determines how often the garbage collector wakes up to check for an
147147
data. To configure it, modify the value of `garbage_collector.sweep_interval` in
148148
`etc/clp-config.yml`.
149149

150-
For example, to configure a sweep interval 3 hours (180 minutes) for archives and 15 minutes for
150+
For example, to configure a sweep interval of 3 hours (180 minutes) for archives and 15 minutes for
151151
search results, use:
152152

153-
154153
```yaml
155154
garbage_collector:
156155
logging_level: "INFO"

0 commit comments

Comments
 (0)