|
|
|
@ -247,6 +247,11 @@ abstract class Connection implements \Yggverse\Yoda\Interface\Model\Connection
@@ -247,6 +247,11 @@ abstract class Connection implements \Yggverse\Yoda\Interface\Model\Connection
|
|
|
|
|
public function cache( |
|
|
|
|
string $request |
|
|
|
|
): void |
|
|
|
|
{ |
|
|
|
|
// Not wait for database record |
|
|
|
|
$pid = pcntl_fork(); |
|
|
|
|
|
|
|
|
|
if ($pid === 0) |
|
|
|
|
{ |
|
|
|
|
$this->_database->renewCache( |
|
|
|
|
$request, |
|
|
|
@ -256,6 +261,9 @@ abstract class Connection implements \Yggverse\Yoda\Interface\Model\Connection
@@ -256,6 +261,9 @@ abstract class Connection implements \Yggverse\Yoda\Interface\Model\Connection
|
|
|
|
|
$this->getTooltip(), |
|
|
|
|
$this->getData() |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
exit; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public function reset(): void |
|
|
|
|