Question

This is an odd problem I am having, after about 60 seconds (timed 4 times). I am running a loop that does a HTTPService call (only takes a couple of sec) and when it's all finished it goes back to the function and repeats adding to a counter.

Code works for smaller test samples (never got above 92 items). Item in my case are folder names.

Is there some sort of a timeout with code that doesn't require user input? I have checked my code many times now but there's nothing that shouldn't work.

Was it helpful?

Solution 3

In the end it turned out to be an error in the way loops were used. It was just a coincidence that it stopped running at about 60 seconds. I solved it by breaking up the series of loops into functions that call the next step/function when all requests are completed instead of right away.

OTHER TIPS

Maybe the service is blocking you, because it is suspicious..

ok this became interesting to me and I found this:

"The max-execution-time value specifies the maximum duration, in seconds, that an ActionScript event handler can execute before Flash Player assumes that it is hung, and aborts it. The default value is 60 seconds. You cannot set this value above 60 seconds."

so, my comment about breaking up using a timer is probably your best solution.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top