coldfusion - Is cfexecute timeout=0 as good as cfthread action=run if no output needed? -
looking @ legacy code , programmer in question uses:
<cfthread action="run"> <cfexecute name="c:\myapp.exe" timeout="30"> </cfthread>
can 1 safely replace code above this?
<cfexecute name="c:\myapp.exe" timeout="0">
is cf going spawn thread in code above anyway? , thread going counted towards "maximum number of threads available cfthread"?
if intent have non-blocking flow of code, can safely replace earlier code yours.
in understanding, cf not creating thread when gets timeout="0". must calling exe (which creates new process on server) , never wait process reply. so, nothing added thread limit count.
Comments
Post a Comment