Commit 39b69a48 by levphon

去掉首页统计数据缓存

1 parent 9ddec2cb
......@@ -121,8 +121,9 @@ public class HomeController {
* @return 是否需要刷新
*/
private boolean needRefreshTotal(String uniqueValue) {
Long lastRefreshTime = DEVICE_COUNT_LAST_REFRESH_TIME.get(uniqueValue);
return lastRefreshTime == null || (Math.abs(lastRefreshTime - System.currentTimeMillis()) >= 120000);
// Long lastRefreshTime = DEVICE_COUNT_LAST_REFRESH_TIME.get(uniqueValue);
// return lastRefreshTime == null || (Math.abs(lastRefreshTime - System.currentTimeMillis()) >= 120000);
return true;
}
/**
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!