GenerateImage() (in FarCry 6.2.x, at least) have
<cfsetting requesttimeout="120" /> in it? It is causing problems with a script I'm writing that generates several images. No matter what I set my
requesttimeout to in my script, the
GenerateImage() function overrides it and sets it to 120 seconds. This causes my script to timeout after two minutes.
So, my question I guess, is why is this here? In other places in the framework you use the request monitor to find the current timeout and extend it:
<cfsetting requesttimeout="#getPageContext().getRequestTimeout() + 5000#" />
<cfsetting requesttimeout="#CreateObject("java", "coldfusion.runtime.RequestMonitor").GetRequestTimeout() + 5#" />
This extends the timeout instead of overriding it.
Can we modify the image formtool to use this technique (any also any other places that set an explicit request timeout)?