Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
config-center
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
0
Merge Requests
0
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
proudkids-pub
config-center
Commits
6a2ebf5b
Commit
6a2ebf5b
authored
Aug 20, 2018
by
张兴柱
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixbug
parent
36f7df84
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
9 deletions
+43
-9
proudkids-gateway-dev.yml
+9
-9
proudkids-gateway-prd.yml
+20
-0
proudkids-gateway-test.yml
+14
-0
No files found.
proudkids-gateway-dev.yml
View file @
6a2ebf5b
...
@@ -85,18 +85,18 @@ zuul:
...
@@ -85,18 +85,18 @@ zuul:
hystrix
:
hystrix
:
command
:
command
:
default
:
default
:
execution
:
execution
:
timeout
:
#配置命令的执行,是否会超时
timeout
:
#配置命令的执行,是否会超时
enabled
:
true
enabled
:
true
isolation
:
#命令的执行超时时间 超时将执行回退
isolation
:
#命令的执行超时时间 超时将执行回退
thread
:
thread
:
timeoutInMilliseconds
:
60000
timeoutInMilliseconds
:
60000
ribbon
:
ribbon
:
ReadTimeout
:
60000
#读取超时时间
ReadTimeout
:
60000
#读取超时时间
ConnectTimeout
:
60000
#好像这个没什么用 如果说有人知道这个是什么作用可以评论告诉我一下
ConnectTimeout
:
60000
security
:
security
:
...
...
proudkids-gateway-prd.yml
View file @
6a2ebf5b
...
@@ -79,6 +79,26 @@ zuul:
...
@@ -79,6 +79,26 @@ zuul:
quota
:
100
quota
:
100
refresh-interval
:
3
refresh-interval
:
3
hystrix
:
command
:
default
:
execution
:
timeout
:
#配置命令的执行,是否会超时
enabled
:
true
isolation
:
#命令的执行超时时间 超时将执行回退
thread
:
timeoutInMilliseconds
:
60000
ribbon
:
ReadTimeout
:
60000
#读取超时时间
ConnectTimeout
:
60000
security
:
security
:
validate
:
validate
:
code
:
true
code
:
true
...
...
proudkids-gateway-test.yml
View file @
6a2ebf5b
...
@@ -58,6 +58,20 @@ zuul:
...
@@ -58,6 +58,20 @@ zuul:
sensitiveHeaders
:
sensitiveHeaders
:
hystrix
:
command
:
default
:
execution
:
timeout
:
#配置命令的执行,是否会超时
enabled
:
true
isolation
:
#命令的执行超时时间 超时将执行回退
thread
:
timeoutInMilliseconds
:
60000
ribbon
:
ReadTimeout
:
60000
#读取超时时间
ConnectTimeout
:
60000
ratelimit
:
ratelimit
:
key-prefix
:
proudkids-ratelimite
key-prefix
:
proudkids-ratelimite
...
...
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