Skip to content

Commit

Permalink
Update nps.go
Browse files Browse the repository at this point in the history
解决服务无法启动问题,issues ehang-io#470
  • Loading branch information
wyaode committed Mar 25, 2020
1 parent be4edbf commit ba1b091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/nps/nps.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ type nps struct {

func (p *nps) Start(s service.Service) error {
_, _ = s.Status()
_ = p.run()
go p.run()
return nil
}
func (p *nps) Stop(s service.Service) error {
Expand Down

0 comments on commit ba1b091

Please sign in to comment.