Doesn't Vapor auto scale?
Apr 1, 2022
3
Level 3
Service Unavailable 503
Vapor works perfect for handling regular requests, file uploads and downloads but in some condition when much more data request takes much longer and got Service Unavailable message with status 503 after 30 seconds despite locally it takes no more then 10 seconds.
As for max_execution_time, I set timeout: 180 in vapor.yml file which means that max time should be 180 seconds. However I still get an exception after 30 seconds. In Vapor UI I can see all these timeout exceptions which say:
Task timed out after 180.10 seconds
Please or to participate in this conversation.