Skip to content

Commit

Permalink
add(Readme): Info for query_limit config option
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarter committed Nov 21, 2018
1 parent 78ebf99 commit 437dd2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,13 +215,14 @@ Each of these methods will have a value associated with it - this is an integer,
For "age", this will be converted into days; for "number", it is the minimum number of records to keep, sorted by LastEdited.
The default value is 30, as we are expecting days.

You can also determine which JobStatuses are allowed to be cleaned up. The default setting is to clean up "Broken" and "Complete" jobs. All other statuses can be configured with `cleanup_statuses`.
You can determine which JobStatuses are allowed to be cleaned up. The default setting is to clean up "Broken" and "Complete" jobs. All other statuses can be configured with `cleanup_statuses`. You can also define `query_limit` to limit the number of rows queried/deleted by the cleanup job (defaults to 100k).

The default configuration looks like this:

```yaml
CleanupJob:
is_enabled: false
query_limit: 100000
cleanup_method: "age"
cleanup_value: 30
cleanup_statuses:
Expand Down

0 comments on commit 437dd2f

Please sign in to comment.