Skip to content

Commit

Permalink
removed service init which overwrites registering interval (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
dh1tw committed Apr 15, 2020
1 parent f31163c commit 7e28a6e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cmd/server_nats.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,6 @@ func natsServer(cmd *cobra.Command, args []string) {
micro.Server(svr),
)

// initialize our service
ss.Init()

// before we annouce this service, we have to ensure that no other
// service with the same name exists. Therefore we query the
// registry for all other existing services.
Expand Down

0 comments on commit 7e28a6e

Please sign in to comment.