I have an app with a frontend UX that queries some backend APIs for information. Some of these APIs need more than 60 seconds to complete their work.
I *thought* I could solve this by doing the following:
1. Run the code on a B8 instance with a different service name
2. Set up dispatch.yaml to direct the incoming API requests to that service:
dispatch:
- url: "*/api/*"
service: reporting
- url: "*/*"
service: default
The dispatching is working correctly. I see this in my logs for an /api hit:
However, it's timing out:
My understanding was that a B8 instance didn't have the "gotta get it done in 60 seconds" rule that frontend instance types did.
What am I missing?
-Joshua