Explorar o código

update WCOUNT

Ivan Galakhov %!s(int64=5) %!d(string=hai) anos
pai
achega
77ea24233e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      server/api/git_repo_handler.go

+ 1 - 1
server/api/git_repo_handler.go

@@ -92,7 +92,7 @@ func (app *App) HandleListRepos(w http.ResponseWriter, r *http.Request) {
 	}
 	}
 
 
 	// make workers to get pages concurrently
 	// make workers to get pages concurrently
-	const WCOUNT = 1
+	const WCOUNT = 5
 	numPages := resp.LastPage + 1
 	numPages := resp.LastPage + 1
 	var workerErr error
 	var workerErr error
 	var mu sync.Mutex
 	var mu sync.Mutex