Skip to content

Commit 78d90eb

Browse files
[DoctrineBridge] Register idle-connection listener before session listeners since they could use the DB
1 parent bfd37f7 commit 78d90eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Middleware/IdleConnection/Listener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function onKernelRequest(RequestEvent $event): void
4949
public static function getSubscribedEvents(): array
5050
{
5151
return [
52-
KernelEvents::REQUEST => 'onKernelRequest',
52+
KernelEvents::REQUEST => ['onKernelRequest', 192], // before session listeners since they could use the DB
5353
];
5454
}
5555
}

0 commit comments

Comments
 (0)