eee
This commit is contained in:
+1
-22
@@ -51,34 +51,13 @@ class Connection extends Component
|
||||
public int $waite_time = 3;
|
||||
public int $tick_time = 60;
|
||||
public int $idle_count = 3;
|
||||
public int $idle_time = 60;
|
||||
public array $pool = ['max' => 10, 'min' => 1];
|
||||
private int $storey = 0;
|
||||
protected int $timerId = -1;
|
||||
|
||||
|
||||
const ERROR_MSG = 'Failed to rollback transaction: connection was exists.';
|
||||
|
||||
/**
|
||||
* @var bool
|
||||
* enable database cache
|
||||
*/
|
||||
public bool $enableCache = false;
|
||||
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public string $cacheDriver = 'redis';
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
public array $attributes = [];
|
||||
|
||||
|
||||
/**
|
||||
* @var Schema|null
|
||||
*/
|
||||
private ?Schema $_schema = null;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user