Skip to content

Commit

Permalink
关闭consul配置
Browse files Browse the repository at this point in the history
  • Loading branch information
jxy918 committed Dec 7, 2018
1 parent bfd2ee0 commit 0cf017a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ TIME_ZONE=Asia/Shanghai
LOG_ENABLE=true
APP_DEBUG=true

# Server
AUTO_REGISTER=true
# Server, 开启次配置如果没有安装consul会报错,如果想要使用consul功能,请自行安装consul
#AUTO_REGISTER=true
2 changes: 1 addition & 1 deletion config/properties/provider.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
'name' => 'notify',
'tcp' => '192.168.7.197:20000',
'interval' => 10,
'timeout' => 1,
'timeout' => 2,
],
],
'discovery' => [
Expand Down
6 changes: 3 additions & 3 deletions config/properties/service.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
'192.168.7.197:8099',
],
'minActive' => 8,
'maxActive' => 8,
'maxActive' => 20,
'maxWait' => 8,
'maxWaitTime' => 3,
'maxIdleTime' => 60,
'timeout' => 8,
'timeout' => 20,
'useProvider' => true,
'balancer' => 'random',
'provider' => 'consul',
Expand All @@ -35,7 +35,7 @@
'maxWait' => 8,
'maxWaitTime' => 3,
'maxIdleTime' => 60,
'timeout' => 8,
'timeout' => 20,
'useProvider' => true,
'balancer' => 'random',
'provider' => 'consul',
Expand Down

0 comments on commit 0cf017a

Please sign in to comment.