Hi, On Fri, Aug 3, 2012 at 8:33 PM, Branden Visser <[email protected]> wrote: > ...I'm currently loading large amounts of data into a sling instance > using sling servlets that we have set up, and I'm finding that I > occasionally get a TooManyCallsException: > > http://svn.apache.org/repos/asf/sling/trunk/bundles/engine/src/main/java/org/apache/sling/engine/impl/request/RequestData.java > > What would you recommend is the best way to resolve this? I can't > figure out how this value is recycled / set back to 0....
This value is per request, so I assume you're using a single request which does lots of sub-requests? Including/forwarding internally maybe? You might change the configured max value as Davide suggests, or change your scenario, for example making more requests which cause less sub-requests. -Bertrand
