I am running a web application with Gunicorn, and I have noticed something strange. When I run tasks that take much longer than the default timeout (30 seconds), the tasks still seem to complete successfully, and the client receives a response.
I have not set a timeout value explicitly using the --timeout option when starting Gunicorn, so I expected the default 30-second timeout to kick in for long-running tasks, causing them to be terminated early with a timeout error. However, I am observing that tasks that take much longer than 30 seconds still finish, and the client receives the response correctly.
Fyi, Nginx timeout is set to a higher value(1 hour) for some reason.
Can someone explain why this is happening? Is there something else I might be missing or another configuration that could be affecting the timeout behavior?
Thank you in advance!