Showing
1 changed file
with
1 additions
and
1 deletions
@@ -35,7 +35,7 @@ import java.util.stream.Collectors; | @@ -35,7 +35,7 @@ import java.util.stream.Collectors; | ||
35 | public class AssetsService { | 35 | public class AssetsService { |
36 | final Logger logger = LoggerFactory.getLogger(getClass()); | 36 | final Logger logger = LoggerFactory.getLogger(getClass()); |
37 | 37 | ||
38 | - private Cache<Integer,TradeBillsSummaryBo> localTradeBillsSummaryBoCache = CacheBuilder.newBuilder().maximumSize(1000).expireAfterAccess(1, TimeUnit.MINUTES).build(); | 38 | + private Cache<Integer,TradeBillsSummaryBo> localTradeBillsSummaryBoCache = CacheBuilder.newBuilder().maximumSize(2000).expireAfterWrite(1, TimeUnit.MINUTES).build(); |
39 | 39 | ||
40 | @Autowired | 40 | @Autowired |
41 | private TradeBillsMapper tradeBillsMapper; | 41 | private TradeBillsMapper tradeBillsMapper; |
-
Please register or login to post a comment