a bit more tracing

This commit is contained in:
Andrew Dolgov
2023-04-09 22:36:37 +03:00
parent fd5e0f98c4
commit 44137342a6
2 changed files with 13 additions and 0 deletions

View File

@@ -659,6 +659,7 @@ class PluginHost {
private function save_data(string $plugin): void {
if ($this->owner_uid) {
$scope = Tracer::start(__METHOD__);
if (!$this->pdo_data)
$this->pdo_data = Db::instance()->pdo_connect();
@@ -686,6 +687,7 @@ class PluginHost {
}
$this->pdo_data->commit();
$scope->close();
}
}