I'm new to this forum - sorry if this isn't the right
category.
I'm having trouble figuring out how to run a report that uses
cfhttp without timing out the cfoutput tag. I'm about 99% certain
the issue is the large volume of data and processing time of the
tag I'm using, not an endless loop in the code or anything. I've
tested the code with small data sets and it runs fine. I know I can
increase the timeout setting, but I think the jobs may take over an
hour to run as currently coded, and that just feels wrong. Seems
like there must be a better way.
The task that's running is checking for new versions of
legislation -- there are 45 possible versions for (by the end of
session) up to 3,000 bills. Each version is checked by sending a
test from the cfhttp tag, and if it exists, inserts the url into
the db. It appears I can get through about 30 bills in 60 seconds.
Code is attached. Am I making some sort of ridiculous
logic/novice error? Any suggestions for making this work?
Thanks in advance!