From f47b75689685d82308474a45cada621808488c65 Mon Sep 17 00:00:00 2001 From: Nick Anderson Date: Wed, 22 Nov 2023 09:07:06 -0600 Subject: [PATCH] Improved readability of note about promise lock purging --- .../controlling-frequency.markdown | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/examples/tutorials/writing-and-serving-policy/controlling-frequency.markdown b/examples/tutorials/writing-and-serving-policy/controlling-frequency.markdown index b2110e56c..123a05c87 100644 --- a/examples/tutorials/writing-and-serving-policy/controlling-frequency.markdown +++ b/examples/tutorials/writing-and-serving-policy/controlling-frequency.markdown @@ -123,10 +123,12 @@ bundle agent __main__ } ``` -Note: Promise locks are ignored when CFEngine is run with the `--no-lock` or -`-K` option, e.g. a common **manual** execution of the agent, `cf-agent -KI` -would not respect promises that are locked from a recent execution. Furthermore, -locks are purged in order to maintain the integrity and health of the underlying -lock database. +**Note:** + +* Promise locks are ignored when CFEngine is run with the `--no-lock` or `-K` + option, e.g. a common **manual** execution of the agent, `cf-agent -KI` would + not respect promises that are locked from a recent execution. +* Locks are purged based on database utilization and age in order to maintain + the integrity and health of the underlying lock database. **See also:** [cf_lock.lmdb][CFEngine directory structure#state/cf_lock.lmdb]