diff options
Diffstat (limited to 'config.cfg.example')
-rw-r--r-- | config.cfg.example | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/config.cfg.example b/config.cfg.example new file mode 100644 index 0000000..23fb072 --- /dev/null +++ b/config.cfg.example @@ -0,0 +1,17 @@ +DEBUG=False +SQLALCHEMY_DATABASE_URI='sqlite:///pastebin.db' +SECRET_KEY='development-key' +SALT='jackson' +DELETESALT='differentstring' +APPNAME='stackbin' +# LOOP_DELAY in seconds is how many seconds between running the expiration cleanup task +LOOP_DELAY = 5 * 3 + +# Disable this variable entirely, to disable any choices for expiration +# Any very simple expression for relative time can be used here. This will be processed by pyparsedate. +EXPIRATION_OPTIONS = [ + "never", + "1 day", + "1 hour", + "15 minutes" +] |