Skip to content

a little refactor#481

Merged
flycash merged 2 commits intoapache:developfrom
cch123:develop
Apr 19, 2020
Merged

a little refactor#481
flycash merged 2 commits intoapache:developfrom
cch123:develop

Conversation

@cch123
Copy link
Contributor

@cch123 cch123 commented Apr 17, 2020

What this PR does:
Divide load process to consumer && provider processes

Add comment for URLEqual

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


Comment on lines 204 to 208
if confRouterFile != "" {
if errPro := RouterInit(confRouterFile); errPro != nil {
log.Printf("[routerConfig init] %#v", errPro)
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about add more private function for router config file?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Member

@flycash flycash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using new private function to load router config

Copy link
Contributor

@fangyincheng fangyincheng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@flycash flycash merged commit 5bdbf08 into apache:develop Apr 19, 2020
@cch123 cch123 deleted the develop branch April 19, 2020 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants