Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
techhero-config
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
techhero-config
Commits
b5b62187
Commit
b5b62187
authored
May 19, 2022
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update techhero-gateway-local.yml
parent
35a684ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
9 deletions
+1
-9
techhero-gateway-local.yml
+1
-9
No files found.
techhero-gateway-local.yml
View file @
b5b62187
...
@@ -19,17 +19,9 @@ hystrix:
...
@@ -19,17 +19,9 @@ hystrix:
isolation
:
isolation
:
thread
:
thread
:
timeoutInMilliseconds
:
600000
#设置API网关中路由转发请求的HystrixCommand执行超时时间
timeoutInMilliseconds
:
600000
#设置API网关中路由转发请求的HystrixCommand执行超时时间
# 针对单个服务及方法的设置方法
PictureService#pictureUpload(MultipartFile,HttpServletRequest)
:
execution
:
timeout
:
enabled
:
true
isolation
:
thread
:
timeoutInMilliseconds
:
1000
# 断路器超时时间,默认1000ms
ribbon
:
ribbon
:
ConnectTimeout
:
3000
#设置路由转发请求的时候,创建请求连接的超时时间
ConnectTimeout
:
3000
#设置路由转发请求的时候,创建请求连接的超时时间
ReadTimeout
:
600000
#用来设置路由转发请求的超时时间
ReadTimeout
:
600000
#用来设置路由转发请求的超时时间
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment