...
|
...
|
@@ -32,7 +32,7 @@ public class SortBrandVectorCacheBean { |
|
|
|
|
|
@PostConstruct
|
|
|
void init() {
|
|
|
schedule.scheduleAtFixedRate(() -> sortBrandVector = loadAllSortBrandVectors(), 0, 5, TimeUnit.MINUTES);
|
|
|
schedule.scheduleAtFixedRate(() -> sortBrandVector = loadAllSortBrandVectors(), 0, 3, TimeUnit.MINUTES);
|
|
|
}
|
|
|
|
|
|
public List<Double> queryBrandSortVector(SortBrand sortBrand) {
|
...
|
...
|
|