diff options
author | Ben Morrison <ben@gbmor.dev> | 2019-05-20 23:01:13 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2019-05-21 03:42:18 -0400 |
commit | bd23ef0959496aba4c6fc8ca2b3969bbf17aa9d5 (patch) | |
tree | 7b388de8cdf89b6c1db180122678f5559aacdf9a /getwtxt.json | |
parent | df1d1efa19aed5bc6553c7c0a0b4b7dfe20e3bd0 (diff) | |
download | getwtxt-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.json | 5 |
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", |