Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gost 支持热更新吗? #600

Open
wjainiya opened this issue Oct 23, 2024 · 2 comments
Open

gost 支持热更新吗? #600

wjainiya opened this issue Oct 23, 2024 · 2 comments

Comments

@wjainiya
Copy link

类似于 reload 命令的方式重新加载配置文件,不影响其他运行中的服务

@cnwhy
Copy link

cnwhy commented Oct 24, 2024

看起来没有,暂时可以用webAPI的方法动态更新

  -C string
        configuration file
  -D    debug mode
  -F value
        chain node list
  -L value
        service list
  -O string
        output format, one of yaml|json format
  -V    print version
  -api string
        api service address
  -metrics string
        metrics service addres

@ginuerzh
Copy link
Member

ginuerzh commented Nov 1, 2024

配置热加载几乎不可能做到不影响已运行服务,简单的做法是通过Web API来单独控制指定的服务,这种方式是不会影响其他服务的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants