Skip to content

Commit 6ef8a20

Browse files
committed
Uniformity: Keep 60 days of logs, 60 days of tasks_completed (default)
1 parent f31a1b3 commit 6ef8a20

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

greyhole.example.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -235,9 +235,9 @@
235235
# How long should executed tasks be kept in the database, after having been executed.
236236
# Those are strictly for debugging purposes; they serve no other purposes.
237237
# Enter a number of days, or 'forever' (no quotes).
238-
# The default is to keep 365 days.
238+
# The default is to keep 60 days.
239239

240-
# executed_tasks_retention = 365
240+
# executed_tasks_retention = 60
241241

242242
#### Ignored files & folders ####
243243
# Files that match the patterns below will be ignored by Greyhole.

includes/common.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ function parse_config() {
131131
$df_cache_time = 15;
132132
$delete_moves_to_trash = TRUE;
133133
$memory_limit = '128M';
134-
$executed_tasks_retention = 365;
134+
$executed_tasks_retention = 60;
135135

136136
foreach (explode("\n", $config_text) as $line) {
137137
if (preg_match("/^[ \t]*([^=\t]+)[ \t]*=[ \t]*([^#]+)/", $line, $regs)) {

logrotate.greyhole

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
daily
55
missingok
6-
rotate 7
6+
rotate 60
77
compress
88
notifempty
99
}

0 commit comments

Comments
 (0)