Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeout exception in feign first time calling #1771

Merged
merged 1 commit into from
Oct 26, 2020
Merged

Timeout exception in feign first time calling #1771

merged 1 commit into from
Oct 26, 2020

Conversation

Flyfoxs
Copy link
Contributor

@Flyfoxs Flyfoxs commented Oct 9, 2020

Describe what this PR does / why we need it

When call feign API, the first time always exception by timeout, not control by random seed.

Does this pull request fix one issue?

It avoid time out to cause Exception.

Describe how you did it

Give time buffer to feign client in application.properties

Describe how to verify it

Special notes for reviews

第一次Feign调用时, 由于初始化懒加载, 可能会有timeout异常. 之前会被mock异常掩盖了.
@CLAassistant
Copy link

CLAassistant commented Oct 9, 2020

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@fangjian0423 fangjian0423 left a comment

Choose a reason for hiding this comment

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

LGTM

@fangjian0423 fangjian0423 merged commit 7316db7 into alibaba:master Oct 26, 2020
@theonefx theonefx added this to the 2.2.4.RELEASE milestone Jan 17, 2021
theonefx pushed a commit to theonefx/spring-cloud-alibaba that referenced this pull request Aug 2, 2021
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.

None yet

4 participants