mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-13 07:27:43 +00:00
bump to 6 threads per cpu
This commit is contained in:
parent
725ad8bf93
commit
3b9a1ecd3d
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue