Skip to content

Commit 1ac737a

Browse files
authored
Adds enable_request_lifecycle config (#89)
1 parent e7967d9 commit 1ac737a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

config/autoload/server.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
'callbacks' => [
2626
Event::ON_REQUEST => [Hyperf\HttpServer\Server::class, 'onRequest'],
2727
],
28+
'options' => [
29+
// Whether to enable request lifecycle event
30+
'enable_request_lifecycle' => false,
31+
],
2832
],
2933
],
3034
'settings' => [

0 commit comments

Comments
 (0)