mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
adding default configuration for purging, resolves #3 (again)
This commit is contained in:
parent
f8bc40b4e4
commit
20cf678a75
|
@ -98,6 +98,21 @@ limit = 10
|
||||||
; directory to store the traffic limits in
|
; directory to store the traffic limits in
|
||||||
dir = PATH "data"
|
dir = PATH "data"
|
||||||
|
|
||||||
|
[purge]
|
||||||
|
; minimum time limit between two purgings of expired pastes, it is only
|
||||||
|
; triggered when pastes are created
|
||||||
|
; Set this to 0 to disable purging. Set it to run more frequently, if you are
|
||||||
|
; running a large site.
|
||||||
|
limit = 300
|
||||||
|
|
||||||
|
; maximum amount of expired pastes to delete in one purge
|
||||||
|
; Set this to 0 to disable purging. Set it higher, if you are running a large
|
||||||
|
; site
|
||||||
|
batchsize = 10
|
||||||
|
|
||||||
|
; directory to store the purge limit in
|
||||||
|
dir = PATH "data"
|
||||||
|
|
||||||
[model]
|
[model]
|
||||||
; name of data model class to load and directory for storage
|
; name of data model class to load and directory for storage
|
||||||
; the default model "privatebin_data" stores everything in the filesystem
|
; the default model "privatebin_data" stores everything in the filesystem
|
||||||
|
|
Loading…
Reference in New Issue
Block a user