Rando Thought: Fail-safe attribute for while-loops

If I spawn a cfthread, I might just do that :wink:

The most frustrating thing about our production app is that we sit behind Cloudflare, an Elastic Load Balancer, an Application Load Balancer, and finally ngingx (as a web app). And, I’m pretty sure each one of those also sets some request timeout. So, no matter what I use in the Lucee server, the user’s request will terminate in a given period (I think the lowest of the layers is 60-seconds). Which is frustrating because even if I have a request that I know will run a long time, I have to jump through hoops to figure out how to let the user consume it without using a long request time.

Ah yeah, I know that problem too

Without knowing a thing about your “app” I would work backwards on this.
If its not a setting in Lucee
Look at the connector setting(s) If its not there
Look at the HTTPD Server
If its not there, look at DNS and your 3rd party static host setup.

Usually its a keep alive setting that is too short.
If its something and just a small part of the code, you can always (at least in Apache) set that directory or site to have its own KeepAlive values.