Skip to content

Commit 1e8f6e0

Browse files
committed
Fixed event prioritites
1 parent 4c174ab commit 1e8f6e0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Bridge/RequestSpanListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function __construct(\SplStack $stack, NameGeneratorInterface $nameGenera
3838
public static function getSubscribedEvents()
3939
{
4040
return [
41-
KernelEvents::REQUEST => ['onRequest', 4096],
41+
KernelEvents::REQUEST => ['onRequest', 8],
4242
KernelEvents::RESPONSE => ['onResponse'],
4343
];
4444
}

src/Name/Generator/DefaultNameGenerator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ class DefaultNameGenerator implements NameGeneratorInterface, EventSubscriberInt
1717
public static function getSubscribedEvents()
1818
{
1919
return [
20-
KernelEvents::REQUEST => ['onRequest', 8192],
21-
ConsoleEvents::COMMAND => ['onCommand', 8192],
20+
KernelEvents::REQUEST => ['onRequest', 8],
21+
ConsoleEvents::COMMAND => ['onCommand', 8],
2222
KernelEvents::TERMINATE => ['onTerminate'],
2323
ConsoleEvents::TERMINATE => ['onTerminate'],
2424
];

0 commit comments

Comments
 (0)