From 9e6cdfc8695bfe017a55ea32e8a9e1596c8cc5f3 Mon Sep 17 00:00:00 2001 From: "Stanislav N. aka pztrn" Date: Tue, 22 Nov 2016 18:50:56 +0500 Subject: [PATCH] Increased max ping requests to servers. Fixes #3. --- requester/pooler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requester/pooler.go b/requester/pooler.go index cc158d0..78b89f5 100644 --- a/requester/pooler.go +++ b/requester/pooler.go @@ -34,7 +34,7 @@ type Pooler struct { func (p *Pooler) Initialize() { fmt.Println("Initializing requester goroutine pooler...") // ToDo: figure out how to make this work nice. - p.maxrequests = 100 + p.maxrequests = 150 _ = runtime.GOMAXPROCS(runtime.NumCPU() * 4) p.pp = "\377\377\377\377" fmt.Println("Pooler initialized")