diff --git a/backend/app/rest/api/rss.go b/backend/app/rest/api/rss.go index 8dd58f38..4450cc32 100644 --- a/backend/app/rest/api/rss.go +++ b/backend/app/rest/api/rss.go @@ -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 #remark42__comment- const uiNav = "#remark42__comment-" diff --git a/backend/app/store/service/restricted_words_test.go b/backend/app/store/service/restricted_words_test.go index b0d4272f..42aac6c4 100644 --- a/backend/app/store/service/restricted_words_test.go +++ b/backend/app/store/service/restricted_words_test.go @@ -1,8 +1,9 @@ package service import ( - "github.com/stretchr/testify/assert" "testing" + + "github.com/stretchr/testify/assert" ) func TestMatcher_Tokenize(t *testing.T) {