valet max_execution_time code example
Example 1: max_execution_time php
ini_set ( 'max_execution_time', 1200); //1200 is time in secondss
Example 2: 504 gateway time-out valet
nano ~/usr/local/etc/nginx/nginx.conf
add inside http:
client_header_timeout 3000;
client_body_timeout 3000;
fastcgi_read_timeout 3000;
fastcgi_buffers 8 128k;
fastcgi_buffer_size 128k;
valet restart