...
|
...
|
@@ -43,7 +43,7 @@ public class UnionOrderServiceImpl implements IUnionOrderService { |
|
|
List<OrderInfo> resList = new ArrayList<OrderInfo>();
|
|
|
Long size = redisListCache.size(UNION_ORDER_KEY);
|
|
|
int sizeInt = size == null ? 0 : size.intValue();
|
|
|
limit = sizeInt < size ? sizeInt : limit;
|
|
|
limit = sizeInt < limit ? sizeInt : limit;
|
|
|
for(int i=0; i < limit; i++){
|
|
|
UnionOrders unionOrder = redisListCache.rightPop(UNION_ORDER_KEY, UnionOrders.class);
|
|
|
logger.info("getUnionOrders: get order list form bigdata redis: key is {}, result is {}", UNION_ORDER_KEY, unionOrder);
|
...
|
...
|
|