cfthread / Attribute retryinterval

Back to cfthread

General
retryinterval
ColdFusion
No
Open BlueDragon
No
Lucee
Yes
Railo 3.0
when type task, this attribute define a execution plan for additional tries of execution. you can define a single rule or multiple rules as array Example single rule: #{interval:createTimeSpan(0,0,0,5),tries:5}# in this case Railo replay the thread for a maximum of 5 times, when the execution fails, Railo waits for 5 seconds before doing the next try. Example multiple rules: #[{interval:createTimeSpan(0,0,0,5),tries:5},{interval:createTimeSpan(0,0,0,10),tries:5}]# in this case Railo replay the thread for maximum of 10 times, when the execution fails, 5 times every 5 seconds, then 5 times every 10 seconds.
3
No
Any