Commit a41fe521 authored by Liang Ding's avatar Liang Ding

--no commit message

--no commit message
parent d43298b0
...@@ -54,7 +54,7 @@ import org.json.JSONObject; ...@@ -54,7 +54,7 @@ import org.json.JSONObject;
* <p> * <p>
* *
* @author <a href="mailto:DL88250@gmail.com">Liang Ding</a> * @author <a href="mailto:DL88250@gmail.com">Liang Ding</a>
* @version 1.0.1.4, May 16, 2012 * @version 1.0.1.5, May 31, 2012
* @since 0.4.0 * @since 0.4.0
*/ */
@RequestProcessor @RequestProcessor
...@@ -151,6 +151,8 @@ public final class StatProcessor { ...@@ -151,6 +151,8 @@ public final class StatProcessor {
article.put(Article.ARTICLE_VIEW_COUNT, viewCount); article.put(Article.ARTICLE_VIEW_COUNT, viewCount);
article.put(Article.ARTICLE_RANDOM_DOUBLE, Math.random()); // Updates random value
articleRepository.update(articleId, article); articleRepository.update(articleId, article);
cachedPage.put(PageCaches.CACHED_HIT_COUNT, 0); cachedPage.put(PageCaches.CACHED_HIT_COUNT, 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment