theforeman/puppet-foreman — pull request #145 by johnj (2014-01-14 03:45:07+00:00)
Title: Add support for async push-facts

Running the push facts script in production results for a large volume frequently updating fact files results in time outs or takes too long.

The current behavior is to process and submit each fact file serially. This PR patches the fact handling flow to wrangle all the requests first and then submit them across multiple threads.