My project has a servlet that runs in background (sling:bg = true as a parameter) the problem I'm facing is that the answer is limited as 3.43MB which creates 99 nodes on the the jobs node (/tmp/bg/jobs/b7e81f79-07d8-47d8-8b54-d87edf46d9a4/2021/03/18/19/03/5/stream/), someone know how can I raise the amount that can be saved by the servlet?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @thiagorabelo-conexio
I am not sure what the use case here that you are using the background job with Sling servlet. See if the below link helps:
https://www.joshdurbin.net/posts/2015-05-sling-background-servlets/
Thanks!
Hi @thiagorabelo-conexio
I am not sure what the use case here that you are using the background job with Sling servlet. See if the below link helps:
https://www.joshdurbin.net/posts/2015-05-sling-background-servlets/
Thanks!
The Sling Background jobs have been deprecated quite some time ago and also removed from AEM (since at least AEM 6.4). I would clearly try to rewrite the code, e.g. to use a Sling Job to execute the job instead.
Views
Likes
Replies
Views
Likes
Replies