From 20cf678a75c233402d7c03c8285e0397e8b432d9 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Mon, 18 Jul 2016 09:13:23 +0200 Subject: [PATCH] adding default configuration for purging, resolves #3 (again) --- cfg/conf.ini.sample | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/cfg/conf.ini.sample b/cfg/conf.ini.sample index fcaf52f8..60c25871 100644 --- a/cfg/conf.ini.sample +++ b/cfg/conf.ini.sample @@ -98,6 +98,21 @@ limit = 10 ; directory to store the traffic limits in 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] ; name of data model class to load and directory for storage ; the default model "privatebin_data" stores everything in the filesystem