Skip to content

Commit

Permalink
modify pool
Browse files Browse the repository at this point in the history
  • Loading branch information
stelin committed Mar 6, 2018
1 parent 7506baf commit 675ef07
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Pool/Config/DbPoolConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
use Swoft\Bean\Annotation\Bean;
use Swoft\Bean\Annotation\Value;
use Swoft\Db\Driver\Driver;
use Swoft\Sg\BalancerSelector;
use Swoft\Sg\ProviderSelector;

/**
* Master pool
Expand Down Expand Up @@ -86,15 +84,15 @@ class DbPoolConfig extends DbPoolProperties
* @Value(name="${config.db.master.balancer}", env="${DB_BALANCER}")
* @var string
*/
protected $balancer = BalancerSelector::TYPE_RANDOM;
protected $balancer = "";

/**
* the default provider is consul provider
*
* @Value(name="${config.db.master.provider}", env="${DB_PROVIDER}")
* @var string
*/
protected $provider = ProviderSelector::TYPE_CONSUL;
protected $provider = "";

/**
* the default driver is consul mysql
Expand Down

0 comments on commit 675ef07

Please sign in to comment.