perf(pulsar-query): 使用缓存优化pulsar查询时候创建admin的时间

This commit is contained in:
v-zhangjc9
2024-05-21 14:35:29 +08:00
parent ac7763c40f
commit 617456b7d9
3 changed files with 81 additions and 35 deletions

View File

@@ -47,7 +47,7 @@ public class PulsarMetrics extends Metrics {
backlogMap = Maps.mutable.empty();
}
@Scheduled(fixedDelay = 10 * MINUTE, initialDelay = MINUTE)
@Scheduled(fixedDelay = 30 * MINUTE, initialDelay = MINUTE)
@Override
void update() {
infoService.tableMetaList()