You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running the docker on an AWS instance and I have an endpoint that performs heavy calculations. Depending on the input it can take more than 1 minute to process. The problem is that for big inputs it always returns a 504 Gateway Timeout after 60 seconds.
I've tried to set the TIMEOUT parameter in the docker run command as specified in the docs but it doesn't seem to modify this timeout. I've checked the gunicorn documentation and it says that the default timeout is 30 seconds and the grace_timeout is also 30 seconds. This make me think that these parameters are not being overwritten because the sum of both is 60 seconds, exactly the same time it takes to raise the timeout error.
The text was updated successfully, but these errors were encountered:
I'm running the docker on an AWS instance and I have an endpoint that performs heavy calculations. Depending on the input it can take more than 1 minute to process. The problem is that for big inputs it always returns a 504 Gateway Timeout after 60 seconds.
I've tried to set the TIMEOUT parameter in the docker run command as specified in the docs but it doesn't seem to modify this timeout. I've checked the gunicorn documentation and it says that the default timeout is 30 seconds and the grace_timeout is also 30 seconds. This make me think that these parameters are not being overwritten because the sum of both is 60 seconds, exactly the same time it takes to raise the timeout error.
The text was updated successfully, but these errors were encountered: