Update max_threads
Merge pull request #3388 from dimagi/max-threads-update

Update max_threads