This is not something you can use for "background: true" for. Perhaps the best way to handle this is to write a script that does this in the background. This script should start your operation in small batches with some delay between them. In pseudo code, you would do:
- Find the 10 documents you need to update.
- update these 10 documents
- sleep
- go to the first step.
, . , , , , - .