Authored by qinchao

fix 缓存大小和失效时间

... ... @@ -35,7 +35,7 @@ import java.util.stream.Collectors;
public class AssetsService {
final Logger logger = LoggerFactory.getLogger(getClass());
private Cache<Integer,TradeBillsSummaryBo> localTradeBillsSummaryBoCache = CacheBuilder.newBuilder().maximumSize(1000).expireAfterAccess(1, TimeUnit.MINUTES).build();
private Cache<Integer,TradeBillsSummaryBo> localTradeBillsSummaryBoCache = CacheBuilder.newBuilder().maximumSize(2000).expireAfterWrite(1, TimeUnit.MINUTES).build();
@Autowired
private TradeBillsMapper tradeBillsMapper;
... ...