use num processing threads for realtime query execution
Merge pull request #239 from metamx/mt-rt

Correctly use number of processing threads for realtime query execution