Phoenix Custom Timeout for Specific Route

I know I can set the timeout and idle_timeout for the whole Endpoint module but I wanted to ask what is the best way to set a custom timeout for only one route in my application? I couldn’t find any posts or discussions about this.

would you like to increase or decrease the timeout on this specific route?

Increase. The default is 60 but I have a streaming endpoint that I want to try with a larger one.

Ugh I feared you may say increase.

Ok in this case I don’t have a ready for you answer, but maybe try experimenting with creating another endpoint, that would have a different timeout just for this route.