Em alguns momentos recebo muito o erro de timeout por tempo maximo de execução, e quando olho no cmd quando levantei a aplicação não mostra o erro e no postman fica naquela espera sem saber o que está acontecendo. Mais quando forço a parada no CMD , ai que vai mostrar no postman o erro, assim como no terminal. Segue a mensagem apresentada no terminal:
obs.: Windows 10 8GB Ram i5, MySQL 8 (Em outro PC com 16GB ram UBUNTU 18.04), PHP 7.3.3, rede local 1gBIT
[Thu Apr 11 15:27:52 2019] [::1]:65440 [200]: /especialidades/2/medicos
2019-04-11T15:39:32-03:00 [info] Matched route "app_medicos_buscaporespecialidade".
[Thu Apr 11 15:40:25 2019] PHP Fatal error: Maximum execution time of 30 seconds exceeded in D:\PHP\consultorio-alura\vendor\symfony\http-kernel\Log\Logger.php on line 80
[Thu Apr 11 15:40:25 2019] PHP Stack trace:
[Thu Apr 11 15:40:25 2019] PHP 1. {main}() D:\PHP\consultorio-alura\public\index.php:0
[Thu Apr 11 15:40:25 2019] PHP 2. App\Kernel->handle() D:\PHP\consultorio-alura\public\index.php:25
[Thu Apr 11 15:40:25 2019] PHP 3. Symfony\Component\HttpKernel\HttpKernel->handle() D:\PHP\consultorio-alura\vendor\symfony\http-kernel\Kernel.php:198
[Thu Apr 11 15:40:25 2019] PHP 4. Symfony\Component\HttpKernel\HttpKernel->handleRaw() D:\PHP\consultorio-alura\vendor\symfony\http-kernel\HttpKernel.php:67
[Thu Apr 11 15:40:25 2019] PHP 5. Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher->dispatch() D:\PHP\consultorio-alura\vendor\symfony\http-kernel\HttpKernel.php:126
[Thu Apr 11 15:40:25 2019] PHP 6. Symfony\Component\EventDispatcher\EventDispatcher->dispatch() D:\PHP\consultorio-alura\vendor\symfony\event-dispatcher\Debug\TraceableEventDispatcher.php:145
[Thu Apr 11 15:40:25 2019] PHP 7. Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() D:\PHP\consultorio-alura\vendor\symfony\event-dispatcher\EventDispatcher.php:44
[Thu Apr 11 15:40:25 2019] PHP 8. Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke() D:\PHP\consultorio-alura\vendor\symfony\event-dispatcher\EventDispatcher.php:212
[Thu Apr 11 15:40:25 2019] PHP 9. Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest() D:\PHP\consultorio-alura\vendor\symfony\event-dispatcher\Debug\WrappedListener.php:115
[Thu Apr 11 15:40:25 2019] PHP 10. Symfony\Component\HttpKernel\Log\Logger->info() D:\PHP\consultorio-alura\vendor\symfony\http-kernel\EventListener\RouterListener.php:125
[Thu Apr 11 15:40:25 2019] PHP 11. Symfony\Component\HttpKernel\Log\Logger->log() D:\PHP\consultorio-alura\vendor\psr\log\Psr\Log\AbstractLogger.php:113
[Thu Apr 11 15:40:25 2019] [::1]:49258 [500]: /especialidades/2/medicos - Maximum execution time of 30 seconds exceeded in D:\PHP\consultorio-alura\vendor\symfony\http-kernel\Log\Logger.php on line 80
2019-04-11T15:40:25-03:00 [critical] Fatal Error: Maximum execution time of 30 seconds exceeded
2019-04-11T15:40:25-03:00 [debug] Notified event "kernel.exception" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelException".
2019-04-11T15:40:25-03:00 [debug] Notified event "kernel.exception" to listener "Symfony\Component\HttpKernel\EventListener\ExceptionListener::onKernelException".
2019-04-11T15:40:25-03:00 [debug] Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelFinishRequest".
2019-04-11T15:40:25-03:00 [debug] Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onFinishRequest".
2019-04-11T15:40:25-03:00 [debug] Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelFinishRequest".