From 39eb97cbceeb332c21eaeeb4843b58b34667cfb2 Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Sun, 13 Feb 2022 22:11:38 -0500 Subject: refactor filenames and improve docs --- config.cfg.example | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 config.cfg.example (limited to 'config.cfg.example') 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" +] -- cgit