|
@@ -47,8 +47,8 @@ public class RecallService implements ApplicationContextAware {
|
|
|
|
|
|
public RecallResult recall(RecallParam param) {
|
|
|
List<RecallStrategy> strategies = getRecallStrategy(param);
|
|
|
- log.info("recall strategies {}", JSONUtils.toJson(CommonCollectionUtils.toList(strategies,
|
|
|
- o -> o.getClass().getSimpleName())));
|
|
|
+// log.info("recall strategies {}", JSONUtils.toJson(CommonCollectionUtils.toList(strategies,
|
|
|
+// o -> o.getClass().getSimpleName())));
|
|
|
CountDownLatch cdl = new CountDownLatch(strategies.size());
|
|
|
List<Future<RecallResult.RecallData>> recallResultFutures = new ArrayList<>();
|
|
|
for (final RecallStrategy strategy : strategies) {
|
|
@@ -56,7 +56,7 @@ public class RecallService implements ApplicationContextAware {
|
|
|
List<Video> result = Collections.emptyList();
|
|
|
try {
|
|
|
result = strategy.recall(param);
|
|
|
- log.info("recall result {} {}", strategy.getClass().getSimpleName(), JSONUtils.toJson(result));
|
|
|
+ //log.info("recall result {} {}", strategy.getClass().getSimpleName(), JSONUtils.toJson(result));
|
|
|
} catch (Throwable e) {
|
|
|
log.error("recall error {}", strategy.getClass().getSimpleName(), e);
|
|
|
}
|