all: Use automaxprocs to tune GOMAXPROCS on k8s
Created by: keegancsmith
The go runtime by default uses the number of cores to set GOMAXPROCS. GOMAXPROCS is then used in many places to control concurrency / decide how many threads to start. However, on docker environments one often has climits affecting it. automaxprocs will read in the climit to set a more accurate GOMAXPROCS.
Fixes https://github.com/sourcegraph/sourcegraph/issues/4867