Scale back threads a bit

This commit is contained in:
Andre Medeiros 2021-07-07 16:30:28 -04:00
parent c8da9bbff3
commit 87f9adf55b

View file

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