mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-08-08 06:22:22 -04:00
introducing automatic purging of expired pastes, triggered by default at least 5 minutes apart, deleting a maximum of 10 pastes - resolves #3
This commit is contained in:
parent
4d10fd9690
commit
f8bc40b4e4
13 changed files with 404 additions and 12 deletions
|
@ -70,6 +70,11 @@ class configuration
|
|||
'header' => null,
|
||||
'dir' => 'data',
|
||||
),
|
||||
'purge' => array(
|
||||
'limit' => 300,
|
||||
'batchsize' => 10,
|
||||
'dir' => 'data',
|
||||
),
|
||||
'model' => array(
|
||||
'class' => 'privatebin_data',
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue