Browse Source

update WCOUNT

Ivan Galakhov 5 năm trước cách đây
mục cha
commit
77ea24233e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
-	const WCOUNT = 1
+	const WCOUNT = 5
 	numPages := resp.LastPage + 1
 	var workerErr error
 	var mu sync.Mutex