Skip to content

Commit

Permalink
[DoctrineBridge] Register idle-connection listener before session lis…
Browse files Browse the repository at this point in the history
…teners since they could use the DB
  • Loading branch information
nicolas-grekas committed Apr 25, 2024
1 parent 462ab95 commit 0f6b3ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function onKernelRequest(RequestEvent $event): void
public static function getSubscribedEvents(): array
{
return [
KernelEvents::REQUEST => 'onKernelRequest',
KernelEvents::REQUEST => ['onKernelRequest', 192], // before session listeners since they could use the DB
];
}
}

0 comments on commit 0f6b3ef

Please sign in to comment.