Home >Backend Development >PHP Tutorial >504 Gateway Time-out
The project was almost developed. When deployed to the production environment, a synchronized fan function reported an error.
There is no problem when the number of fans is only a few dozen, but when testing a public account with 5,000 fans, the following error occurs. Proxy_read_timeout 1 800;
Decisively change the time configuration to half an hour, but The problem still exists. I checked online and found that the cache of the process may be too small. Modify and then lower the cache size.
It is true that some public accounts can be modified in this way, but what about the public accounts with more fans? You can't always modify the server configuration.
And pay attention to the next blog, the use of anonymous threads
The above has introduced 504 Gateway Time-out, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.