Getting 504 gateway timeout when trying to generate a large excel file (like about 500 employees report).
While same code is working perfectly alright and generates e