mirror of
https://github.com/cedar2025/hysteria.git
synced 2025-08-10 19:31:49 +00:00
feat: options to disable update check & fix client lazy mode
This commit is contained in:
@@ -606,7 +606,9 @@ func runServer(cmd *cobra.Command, args []string) {
|
||||
}
|
||||
logger.Info("server up and running")
|
||||
|
||||
go runCheckUpdateServer()
|
||||
if !disableUpdateCheck {
|
||||
go runCheckUpdateServer()
|
||||
}
|
||||
|
||||
if err := s.Serve(); err != nil {
|
||||
logger.Fatal("failed to serve", zap.Error(err))
|
||||
|
Reference in New Issue
Block a user