Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
services
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
tencent
services
Commits
a0bd6535
Commit
a0bd6535
authored
Aug 15, 2018
by
feixiang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
b13b7e14
2f291b0c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
12 deletions
+9
-12
src/Common/Pool/Config/ReservationPoolConfig.php
+3
-5
src/Common/Pool/Config/SchedulePoolConfig.php
+3
-5
src/Common/Pool/Config/StorePoolConfig.php
+3
-2
No files found.
src/Common/Pool/Config/ReservationPoolConfig.php
View file @
a0bd6535
...
...
@@ -12,6 +12,7 @@ namespace Hdll\Services\Common\Pool\Config;
use
Swoft\Bean\Annotation\Bean
;
use
Swoft\Pool\PoolProperties
;
use
Swoft\Bean\Annotation\Value
;
/**
* the config of service user
...
...
@@ -74,13 +75,10 @@ class ReservationPoolConfig extends PoolProperties
* '127.0.0.1:88'
* ]
* </pre>
*
*
@Value(name="", env="${RPC_RESERVATION_URI}")
* @var array
*/
protected
$uri
=
[
'192.168.3.23:8095'
,
'192.168.3.23:8095'
,
];
protected
$uri
=
[
'172.21.0.11:8099'
,
'172.16.255.6:8099'
];
/**
* whether to user provider(consul/etcd/zookeeper)
...
...
src/Common/Pool/Config/SchedulePoolConfig.php
View file @
a0bd6535
...
...
@@ -12,6 +12,7 @@ namespace Hdll\Services\Common\Pool\Config;
use
Swoft\Bean\Annotation\Bean
;
use
Swoft\Pool\PoolProperties
;
use
Swoft\Bean\Annotation\Value
;
/**
* the config of service user
...
...
@@ -74,13 +75,10 @@ class SchedulePoolConfig extends PoolProperties
* '127.0.0.1:88'
* ]
* </pre>
*
*
@Value(name="", env="${RPC_SCHEDULE_URI}")
* @var array
*/
protected
$uri
=
[
'192.168.3.23:8096'
,
'192.168.3.23:8096'
,
];
protected
$uri
=
[
'172.21.0.23:8099'
,
'172.16.255.197:8099'
];
/**
* whether to user provider(consul/etcd/zookeeper)
...
...
src/Common/Pool/Config/StorePoolConfig.php
View file @
a0bd6535
...
...
@@ -12,6 +12,7 @@ namespace Hdll\Services\Common\Pool\Config;
use
Swoft\Bean\Annotation\Bean
;
use
Swoft\Pool\PoolProperties
;
use
Swoft\Bean\Annotation\Value
;
/**
* the config of service user
...
...
@@ -74,10 +75,10 @@ class StorePoolConfig extends PoolProperties
* '127.0.0.1:88'
* ]
* </pre>
* @Value(name="
172.21.0.44:8099,172.16.255.190:8099
", env="${RPC_STORE_URI}")
* @Value(name="", env="${RPC_STORE_URI}")
* @var array
*/
protected
$uri
=
[];
protected
$uri
=
[
'172.21.0.44:8099'
,
'172.16.255.190:8099'
];
/**
* whether to user provider(consul/etcd/zookeeper)
...
...
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