Skip to content
Snippets Groups Projects
Commit b90bb443 authored by cvictory's avatar cvictory
Browse files

Merge branch 'develop' of github.com:apache/dubbo-go into notify_all

parents 60533272 e197df14
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ import (
"github.com/apache/dubbo-go/common/logger"
)
// Invoker ...
// Invoker the service invocation interface for the consumer
//go:generate mockgen -source invoker.go -destination mock/mock_invoker.go -self_package github.com/apache/dubbo-go/protocol/mock --package mock Invoker
// Extension - Invoker
type Invoker interface {
......
......@@ -93,7 +93,7 @@ func newGettyRPCClientConn(pool *gettyRPCClientPool, addr string) (*gettyRPCClie
c.gettyClient.Close()
return nil, perrors.New(fmt.Sprintf("failed to create client connection to %s in %f seconds", addr, float32(times)/1000))
}
time.Sleep(1e6)
time.Sleep(time.Millisecond * time.Duration(times))
}
logger.Debug("client init ok")
c.updateActive(time.Now().Unix())
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment