mirror of
https://github.com/eosswedenorg/antelope-api-healthcheck
synced 2026-06-16 04:44:55 +02:00
internal/server/server.go: in Start() no need to spawn server.Listen() in a go routine as that function is already non-blocking.
This commit is contained in:
parent
8feca959d4
commit
72bdde0457
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ func Start(addr string) error {
|
|||
|
||||
err := server.Connect()
|
||||
if err == nil {
|
||||
go server.Listen()
|
||||
err = server.Listen()
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue