Skip to content

Commit

Permalink
🔧 默认随机帖相关帖数量
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Sep 27, 2018
1 parent 263c0e6 commit f85198f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,7 @@ public void fillRelevantArticles(final int avatarViewMode,
Stopwatchs.start("Fills relevant articles");
try {
dataModel.put(Common.SIDE_RELEVANT_ARTICLES,
articleQueryService.getRelevantArticles(
avatarViewMode, article, Symphonys.getInt("sideRelevantArticlesCnt")));
articleQueryService.getRelevantArticles(avatarViewMode, article, Symphonys.getInt("sideRelevantArticlesCnt")));
} finally {
Stopwatchs.end();
}
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/symphony.properties
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ indexArticleParticipantsCnt=7
latestArticlesWindowSize=10
latestArticleParticipantsCnt=7
sideHotArticlesCnt=10
sideRandomArticlesCnt=10
sideRandomArticlesCnt=6
sideTagsCnt=28
sideRelevantArticlesCnt=15
sideRelevantArticlesCnt=6
sizeLatestCmtsCnt=10
### User Home ###
userHomeArticlesCnt=30
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/symphony.properties
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ indexArticleParticipantsCnt=7
latestArticlesWindowSize=10
latestArticleParticipantsCnt=7
sideHotArticlesCnt=10
sideRandomArticlesCnt=10
sideRandomArticlesCnt=6
sideTagsCnt=28
sideRelevantArticlesCnt=15
sideRelevantArticlesCnt=6
sizeLatestCmtsCnt=10
### User Home ###
userHomeArticlesCnt=30
Expand Down

0 comments on commit f85198f

Please sign in to comment.