Skip to content

Commit

Permalink
fix initial issue (apache#174)
Browse files Browse the repository at this point in the history
Former-commit-id: 2173648
  • Loading branch information
alchemy-lee committed May 23, 2021
1 parent 5fbb73c commit f6bb243
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions pkg/client/dubbo/dubbo.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,6 @@ func NewDubboClient() *Client {

// Init init dubbo, config mapping can do here
func (dc *Client) Init() error {
dc.GenericServicePool = make(map[string]*dg.GenericService, 4)

cls := config.GetBootstrap().StaticResources.Clusters

// dubbogo comsumer config
Expand Down
2 changes: 1 addition & 1 deletion pkg/common/extension/filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"github.com/dubbogo/dubbo-go-pixiu-filter/pkg/context"
)

var filterFuncCacheMap = make(map[string]func(ctx context.Context), 4)
var filterFuncCacheMap = make(map[string]func(ctx context.Context), 8)

// SetFilterFunc will store the @filter and @name
func SetFilterFunc(name string, filter context.FilterFunc) {
Expand Down

0 comments on commit f6bb243

Please sign in to comment.