
504 Gateway timeout
Hi,
I have an endpoint where a company can be chosen. This company is the basis for a query with all the contracts my customer has with this specific company.
The contracts have an end date. Now I want to end date all the contracts in an action. So far, so good. But when running the action (ajax function from the endpoint which calls the post-endpoint) I get a 504 gateway timeout if I have to process more than 50 contracts.
Anyone any clue how to prevent this?
Corné
Hi,
I have an endpoint where a company can be chosen. This company is the basis for a query with all the contracts my customer has with this specific company.
The contracts have an end date. Now I want to end date all the contracts in an action. So far, so good. But when running the action (ajax function from the endpoint which calls the post-endpoint) I get a 504 gateway timeout if I have to process more than 50 contracts.
Anyone any clue how to prevent this?
Corné
Answers