mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-21 19:37:41 +00:00
Scale back threads a bit
This commit is contained in:
parent
c8da9bbff3
commit
87f9adf55b
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue