Skip to content

Commit 378617d

Browse files
authored
Add missing default listeners (#311)
Two listeners were missing in the default config. This adds them.
1 parent 4d86225 commit 378617d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

config/octane.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
use Laravel\Octane\Events\RequestReceived;
66
use Laravel\Octane\Events\RequestTerminated;
77
use Laravel\Octane\Events\TaskReceived;
8+
use Laravel\Octane\Events\TaskTerminated;
89
use Laravel\Octane\Events\TickReceived;
10+
use Laravel\Octane\Events\TickTerminated;
911
use Laravel\Octane\Events\WorkerErrorOccurred;
1012
use Laravel\Octane\Events\WorkerStarting;
1113
use Laravel\Octane\Events\WorkerStopping;
@@ -81,11 +83,19 @@
8183
...Octane::prepareApplicationForNextOperation(),
8284
//
8385
],
86+
87+
TaskTerminated::class => [
88+
//
89+
],
8490

8591
TickReceived::class => [
8692
...Octane::prepareApplicationForNextOperation(),
8793
//
8894
],
95+
96+
TickTerminated::class => [
97+
//
98+
],
8999

90100
OperationTerminated::class => [
91101
FlushTemporaryContainerInstances::class,

0 commit comments

Comments
 (0)