summary refs log tree commit diff stats
path: root/getwtxt.json
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-05-20 23:01:13 -0400
committerBen Morrison <ben@gbmor.dev>2019-05-21 03:42:18 -0400
commitbd23ef0959496aba4c6fc8ca2b3969bbf17aa9d5 (patch)
tree7b388de8cdf89b6c1db180122678f5559aacdf9a /getwtxt.json
parentdf1d1efa19aed5bc6553c7c0a0b4b7dfe20e3bd0 (diff)
downloadgetwtxt-bd23ef0959496aba4c6fc8ca2b3969bbf17aa9d5.tar.gz
added cache update / db push intervals to conf;
made confObj concurrency-safe via sync.RWMutex;
new config values related to db/cache
Diffstat (limited to 'getwtxt.json')
-rw-r--r--getwtxt.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/getwtxt.json b/getwtxt.json
index 60afa6a..912975a 100644
--- a/getwtxt.json
+++ b/getwtxt.json
@@ -1,7 +1,10 @@
 {
   "port": 9001,
   "stdoutLogging": true,
-  "logfile": "getwtxt.log",
+  "logFile": "getwtxt.log",
+  "databasePath": "getwtxt.db",
+  "databasePushInterval": "5m",
+  "reCacheInterval": "1h",
   "instance": {
     "name": "getwtxt",
     "url": "https://twtxt.example.com",