Skip to content

Commit 9a13c42

Browse files
committed
x
1 parent bbf5c90 commit 9a13c42

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

zrpc/internal/rpcpubserver.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ type keepAliveServer struct {
5353

5454
func (s keepAliveServer) Start(fn RegisterFn) error {
5555
chErr := make(chan error)
56-
5756
go func() {
5857
defer close(chErr)
5958
chErr <- s.Server.Start(fn)
@@ -62,7 +61,6 @@ func (s keepAliveServer) Start(fn RegisterFn) error {
6261
// Wait for the service to start successfully, otherwise the registration service will fail.
6362
ctx, cancel := context.WithTimeout(context.Background(), time.Minute)
6463
defer cancel()
65-
6664
ticker := time.NewTicker(time.Second)
6765

6866
l:

0 commit comments

Comments
 (0)