We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbf5c90 commit 9a13c42Copy full SHA for 9a13c42
zrpc/internal/rpcpubserver.go
@@ -53,7 +53,6 @@ type keepAliveServer struct {
53
54
func (s keepAliveServer) Start(fn RegisterFn) error {
55
chErr := make(chan error)
56
-
57
go func() {
58
defer close(chErr)
59
chErr <- s.Server.Start(fn)
@@ -62,7 +61,6 @@ func (s keepAliveServer) Start(fn RegisterFn) error {
62
61
// Wait for the service to start successfully, otherwise the registration service will fail.
63
ctx, cancel := context.WithTimeout(context.Background(), time.Minute)
64
defer cancel()
65
66
ticker := time.NewTicker(time.Second)
67
68
l:
0 commit comments