We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b80f386 + d3b4b21 commit 5c0af85Copy full SHA for 5c0af85
lib/private/DB/Connection.php
@@ -218,15 +218,15 @@ public function connect($connectionName = null) {
218
return parent::connect();
219
}
220
221
- $this->lastConnectionCheck[$this->getConnectionName()] = time();
222
-
223
// Only trigger the event logger for the initial connect call
224
$eventLogger = Server::get(IEventLogger::class);
225
$eventLogger->start('connect:db', 'db connection opened');
226
/** @psalm-suppress InternalMethod */
227
$status = parent::connect();
228
$eventLogger->end('connect:db');
229
+ $this->lastConnectionCheck[$this->getConnectionName()] = time();
+
230
return $status;
231
} catch (Exception $e) {
232
// throw a new exception to prevent leaking info from the stacktrace
0 commit comments