We are (still) having memory issues with Pulse that lead to periodic crashing. I am planning to upgrade to 7.1 as soon as I test it and have the opportunity, but that’s a non-trivial process to execute across two studios in the middle of production. But I digress…
I’ve noticed from looking at the Pulse log that it is still performing a Job Cleanup Scan, in spite of the fact that the option to automatically clean up jobs is disabled in the repository settings. I don’t think the memory situation is being helped by the fact that the cleanup scan is currently loading over 1,600 jobs (we have around 2,100 in the queue in question right now), which takes over 10 seconds (so there’s some heavyweight data being read). I tried bumping the job cleanup threshold from 0 to 128 hours (leaving the cleanup option itself disabled), on the off-chance that Pulse was using this value to query Mongo more intelligently, but that didn’t change the number of jobs being loaded.
So, my question is, shouldn’t Pulse just skip the Job Cleanup scan altogether if the option is disabled in the repo?