BKBK
Member since Aug 3, 2022
- Profile: /members/14573-bkbk.htm
- Comments: 3
Recent Blog Comments By BKBK
-
RequestTimeout Setting Affects CFThread Execution In Lucee CFML 5.3.6.61
Posted on Aug 10, 2022 at 11:08 AM
@Ben My initial attempt to use the CFSetting tag was trying to use the createTimeSpan() function for the requestTimeout. It's been a long time since I've even used this tag. But, it doesn't work that way :D You have to provide a number of seconds, not a time span Indeed... read more »
-
RequestTimeout Setting Affects CFThread Execution In Lucee CFML 5.3.6.61
Posted on Aug 10, 2022 at 11:01 AM
@Ben, I have been looking some more into your discovery that, from Lucee 5.3.6.61 onwards, the following code will effectively stop the thread after the timeout period of 15 seconds: thread name="testThread" { setting reqtestTimeout=15; // Do some thread stuff/ } I stil... read more »
-
RequestTimeout Setting Affects CFThread Execution In Lucee CFML 5.3.6.61
Posted on Aug 3, 2022 at 9:36 AM
Great article on a crucial subject. The ability to time out a thread has huge implications. For one thing, it can mean the difference between a rogue thread being stopped in its tracks or being free to hang about and hog memory for as long as it wants. However, there are questions I should l... read more »