bump to 6 threads per cpu

This commit is contained in:
Andre Medeiros 2021-07-07 18:04:24 -04:00
parent 725ad8bf93
commit 3b9a1ecd3d

View file

@ -28,7 +28,7 @@ type application struct {
client *reddit.Client
}
var workers int = runtime.NumCPU() * 4
var workers int = runtime.NumCPU() * 6
var rate float64 = 0.1
func accountWorker(id int, rc *reddit.Client, db *sql.DB, logger *log.Logger, statsd *statsd.Client, quit chan bool) {