How to prevent background process for blocking CPU?


#1

I have a background process crawling the web, but its making the app unresponsive at times.

I’ve added Meteor.defer in a ton of places and that seems to help but now my code looks terrible. Is there a better way of doing this? Does Meteor._sleepForMs accomplish the same thing?