Skip to content

Commit

Permalink
Pull out certReloader.Listen invocation from goroutine
Browse files Browse the repository at this point in the history
  • Loading branch information
mirel-dev committed Sep 13, 2024
1 parent 05d508f commit 95b196c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snetd/cmd/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func (d *daemon) start() {
mutex: new(sync.Mutex),
}

go certReloader.Listen()
certReloader.Listen()

if d.autoSSLDomain != "" {
zap.L().Debug("enabling automatic SSL support")
Expand Down

0 comments on commit 95b196c

Please sign in to comment.