Skip to content

动态修改配置是否还有比 configWillLoad 更早的时机 #5072

Answered by atian25
loveshens asked this question in Q&A
Discussion options

You must be logged in to vote

一个 workaround, https://github.com/atian25/egg-remote-config 仅供参考。

你如果是 schedule 场景,最好是自行写一个 schedule 的 策略,具体看 egg-schedule README

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@loveshens
Comment options

Answer selected by loveshens
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants