Skip to content

Commit

Permalink
increase size of last comments for reply detection to 5000 and time t…
Browse files Browse the repository at this point in the history
…o 31 days #268
  • Loading branch information
umputun committed Jan 27, 2019
1 parent c746818 commit b106fe0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions backend/app/rest/api/rss.go
Original file line number Diff line number Diff line change
Expand Up @@ -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-"
Expand Down
3 changes: 2 additions & 1 deletion backend/app/store/service/restricted_words_test.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
package service

import (
"github.com/stretchr/testify/assert"
"testing"

"github.com/stretchr/testify/assert"
)

func TestMatcher_Tokenize(t *testing.T) {
Expand Down

0 comments on commit b106fe0

Please sign in to comment.