mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-26 19:29:58 +03:00
feature #370, automatic purge on history
This commit is contained in:
parent
5fb18eda36
commit
eef8a27f5e
3 changed files with 106 additions and 0 deletions
|
@ -553,6 +553,16 @@ $conf['guest_access'] = true;
|
|||
// nb_logs_page : how many logs to display on a page
|
||||
$conf['nb_logs_page'] = 300;
|
||||
|
||||
// Every X new line in history, perform an automatic purge. The more often,
|
||||
// the fewer lines to delete. 0 to disable.
|
||||
$conf['history_autopurge_every'] = 1021;
|
||||
|
||||
// How many lines to keep in history on autopurge? 0 to disable.
|
||||
$conf['history_autopurge_keep_lines'] = 1000000;
|
||||
|
||||
// On history autopurge, how many lines should to deleted, maximum?
|
||||
$conf['history_autopurge_blocksize'] = 50000;
|
||||
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | urls |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue