roadrunner support
This commit is contained in:
@@ -2,4 +2,5 @@
|
||||
|
||||
return [
|
||||
Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true],
|
||||
Baldinof\RoadRunnerBundle\BaldinofRoadRunnerBundle::class => ['all' => true],
|
||||
];
|
||||
|
||||
27
config/packages/baldinof_road_runner.yaml
Normal file
27
config/packages/baldinof_road_runner.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
baldinof_road_runner:
|
||||
# When the kernel should be rebooted.
|
||||
# See https://github.com/baldinof/roadrunner-bundle#kernel-reboots
|
||||
kernel_reboot:
|
||||
# if you want to use a fresh container on each request, use the `always` strategy
|
||||
strategy: on_exception
|
||||
# Exceptions you KNOW that do not put your app in an unrecoverable state
|
||||
allowed_exceptions:
|
||||
- Symfony\Component\HttpKernel\Exception\HttpExceptionInterface
|
||||
- Symfony\Component\Serializer\Exception\ExceptionInterface
|
||||
- Symfony\Contracts\HttpClient\Exception\ExceptionInterface
|
||||
|
||||
# Allow to send prometheus metrics to the main RoadRunner process,
|
||||
# via a `Spiral\RoadRunner\MetricsInterface` service.
|
||||
# See https://github.com/baldinof/roadrunner-bundle#metrics
|
||||
metrics:
|
||||
enabled: false
|
||||
# collect:
|
||||
# my_counter:
|
||||
# type: counter
|
||||
# help: Some help
|
||||
|
||||
|
||||
# You can use middlewares to manipulate Symfony requests & responses.
|
||||
# See https://github.com/baldinof/roadrunner-bundle#middlewares
|
||||
# middlewares:
|
||||
# - App\Middleware\YourMiddleware
|
||||
Reference in New Issue
Block a user