Skip to content

Commit

Permalink
Improved readability of note about promise lock purging
Browse files Browse the repository at this point in the history
  • Loading branch information
nickanderson committed Nov 22, 2023
1 parent 805d139 commit f47b756
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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]

0 comments on commit f47b756

Please sign in to comment.