Skip to content

Commit

Permalink
优化连接超时
Browse files Browse the repository at this point in the history
  • Loading branch information
anoxia committed Feb 12, 2019
1 parent 4a3ac16 commit 55f488d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/MySQL/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Item implements ItemInterface
/**
* @var float
*/
protected $timeout = 10;
protected $timeout = 15;

/**
* Item
Expand Down
2 changes: 1 addition & 1 deletion src/Redis/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Item implements ItemInterface
/**
* @var int
*/
protected $timeout = 10;
protected $timeout = 15;

/**
* @var \Redis
Expand Down

0 comments on commit 55f488d

Please sign in to comment.