mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-25 05:07:43 +00:00
8 per CPU
This commit is contained in:
parent
a76cc5f532
commit
245c9fe68c
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ type application struct {
|
|||
client *reddit.Client
|
||||
}
|
||||
|
||||
var workers int = runtime.NumCPU() * 2
|
||||
var workers int = runtime.NumCPU() * 8
|
||||
|
||||
func accountWorker(id int, rc *reddit.Client, db *sql.DB, logger *log.Logger, quit chan bool) {
|
||||
authKey, err := token.AuthKeyFromFile(os.Getenv("APPLE_AUTHKEY_PATH"))
|
||||
|
|
Loading…
Reference in a new issue