mirror of
https://github.com/bolucat/Archive.git
synced 2025-12-24 13:28:37 +08:00
Update On Fri Apr 26 20:27:55 CEST 2024
This commit is contained in:
@@ -152,7 +152,7 @@ func (xs *XrayServer) Start(ctx context.Context) error {
|
||||
return
|
||||
case <-ticker.C:
|
||||
newCfg := config.NewConfig(xs.cfg.PATH)
|
||||
if err := newCfg.LoadConfig(); err != nil {
|
||||
if err := newCfg.LoadConfig(false); err != nil {
|
||||
// TODO refine
|
||||
xs.l.Error("Reload Config meet error will retry in next loop", zap.Error(err))
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user