increase reply rss duration to 24h

This commit is contained in:
Umputun
2019-01-06 17:37:58 -06:00
parent 6c02768f5d
commit f76afb9af5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ import (
const maxRssItems = 20
const maxLastCommentsReply = 1000
const maxReplyDuration = 30 * time.Minute
const maxReplyDuration = 24 * time.Hour
// ui uses links like <post-url>#remark42__comment-<comment-id>
const uiNav = "#remark42__comment-"
+1 -1
View File
@@ -49,7 +49,7 @@ type BoltSite struct {
// NewBoltDB makes persistent boltdb-based store
func NewBoltDB(options bolt.Options, sites ...BoltSite) (*BoltDB, error) {
log.Printf("[INFO] bolt store for sites %+v", sites)
log.Printf("[INFO] bolt store for sites %+v, options %+v", sites, options)
result := BoltDB{dbs: make(map[string]*bolt.DB)}
for _, site := range sites {
db, err := bolt.Open(site.FileName, 0600, &options) // bolt.Options{Timeout: 30 * time.Second}