Thanks to visit codestin.com Credit goes to github.com
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.
1 parent a63ef76 commit bd72428Copy full SHA for bd72428
src/Symfony/Bridge/Doctrine/Middleware/IdleConnection/Listener.php
@@ -30,8 +30,8 @@ public function __construct(
30
31
public function onKernelRequest(RequestEvent $event): void
32
{
33
- if (HttpKernelInterface::SUB_REQUEST === $event->getRequestType()) {
34
- // skip subrequests
+ if (HttpKernelInterface::MAIN_REQUEST !== $event->getRequestType()) {
+
35
return;
36
}
37
$timestamp = time();
0 commit comments