josheee1117
josheee1117
安卓,同样得问题。
> 触发翻译之后,点击悬浮球旁边的反馈按钮反馈一下 已反馈
配置了也不行
阿波罗版本1.7.2,jdk1.8. 今天似乎找到出问题代码是啥了,@ApolloConfigChangeListener 的onchange方法是写在一个具体的@ConfigurationProperties类中的。 @Configuration @ConfigurationProperties(prefix = "master.data.app.config") public class MasterDataAppConfiguration { private final ApplicationEventPublisher applicationEventPublisher; private final RefreshScope refreshScope; /** * Map */ private Map appMap = new HashMap(); public...
> 猜测是 MasterDataAppConfiguration 每次刷新后会重建,导致事件处理会持续增加,导致重复处理。 另外 `refreshScope.refreshAll();` 应该是不需要的? 是的,排查代码发现ConfigService里面缓存的listener在重建bean时会一直增加,没有销毁。 refreshScope.refreshAll()不需要。
Still the case on `0.1.12-nightly.20261123.5124` (macOS arm64, one machine). One more use case, with an angle that isn't covered above yet: **the CLI**. We run one coordinator thread that hands...