From bd23ef0959496aba4c6fc8ca2b3969bbf17aa9d5 Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Mon, 20 May 2019 23:01:13 -0400 Subject: added cache update / db push intervals to conf; made confObj concurrency-safe via sync.RWMutex; new config values related to db/cache --- getwtxt.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'getwtxt.json') 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", -- cgit 1.4.1-2-gfad0