summaryrefslogtreecommitdiff
path: root/git-gmi/config.py
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@macaw.me>2020-07-28 21:46:17 +0800
committerFrederick Yin <fkfd@macaw.me>2020-07-28 21:46:17 +0800
commit0a54df66bb17c053528bfee81436cf8e986ecd69 (patch)
tree748361df0f10512b33fe9f4a0025e8892b786d99 /git-gmi/config.py
parent3460330d470a45d6a2ce0bc1f02e1eb3de5514f4 (diff)
parent668353172f4874723f16063d08dedc2a9283331e (diff)
Merge branch 'cache' and add dep declarationHEADmaster
Diffstat (limited to 'git-gmi/config.py')
-rw-r--r--git-gmi/config.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/git-gmi/config.py b/git-gmi/config.py
index 6624b3b..e72c6f9 100644
--- a/git-gmi/config.py
+++ b/git-gmi/config.py
@@ -2,6 +2,10 @@
GIT_CATALOG = "/home/fakefred/p/_lab/gemini/repos/"
# which path leads to your cgi app after the URL's host part
CGI_PATH = "/cgi/"
+# cache dir
+CACHE_DIR = "/home/fakefred/Archive/_cache/"
+# how long before cache expires, in seconds: int
+CACHE_TTL = 120
# your site's display name
GIT_GMI_SITE_TITLE = "git.gmi demo instance"
# the "main" branch that git.gmi defaults to