increase size of last comments for reply detection to 5000 and time to 31 days #268

This commit is contained in:
Umputun
2019-01-27 14:28:24 -06:00
parent c7468184ba
commit b106fe0fc6
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -16,8 +16,8 @@ import (
)
const maxRssItems = 20
const maxLastCommentsReply = 1000
const maxReplyDuration = 24 * time.Hour
const maxLastCommentsReply = 5000
const maxReplyDuration = 31 * 24 * time.Hour
// ui uses links like <post-url>#remark42__comment-<comment-id>
const uiNav = "#remark42__comment-"
@@ -1,8 +1,9 @@
package service
import (
"github.com/stretchr/testify/assert"
"testing"
"github.com/stretchr/testify/assert"
)
func TestMatcher_Tokenize(t *testing.T) {