Getting : "Query error: 504" for azure datasource

After the upgrade to v7.1.5, I am getting below error for azure queries which are taking more than a minute. Anyone has any idea if there is a timeout setting which can be changed to avoid this? This was not happening with the previous version.


data:" 504 Gateway Time-out

504 Gateway Time-out

nginx "
message:"Query error: 504 "