Monday, 29 May 2017

Reload a route method if 504(gateway timeout) happens

I am building a nodejs application with expressjs framework.Recently I faced some critical problem where one route method is facing 504 timeout as it takes too much time for getting the output of a certain query.I optimise the query and database but no use.It still getting 504 timeout.My question is can I reload the route method if it gets 504 timeout?



via Ronit Sarma

No comments:

Post a Comment