How can I increase the execution wait time?

I have a task running for about 30 minutes, I specify a parameter in the request: "policy": { "executionTimeout": 1800000 } But I still get a worker execution timeout error. {'delayTime': 4344, 'error': '{ "error_type": "<class 'requests.exceptions.ReadTimeout'>", "error_message": "HTTPConnectionPool(host='127.0.0.0.1', port=5000): Read timed out. (read timeout=600)", How to increase the timeout verse more than 600 seconds ?
3 Replies
digigoblin
digigoblin6d ago
execution timeout does not need to be set, looks like its a problem with your worker where the connection to port 5000 is timing out, you need to increase the timeout in your requests/httpx/whatever library in your worker Looks like its requests library based on the error message Are you using a ComfyUI worker?
Dmitrii
Dmitrii6d ago
Yes, you're absolutely right! The problem was my vorker! Thank you for your help!
digigoblin
digigoblin6d ago
Grand