diff --git a/pkg/locode/db/db.go b/pkg/locode/db/db.go index a4a09d1..90b19ed 100644 --- a/pkg/locode/db/db.go +++ b/pkg/locode/db/db.go @@ -80,7 +80,7 @@ func FillDatabase(table SourceTable, airports AirportDB, continents ContinentsDB var errG errgroup.Group // Pick some sane default, after this the performance stopped increasing. - errG.SetLimit(runtime.NumCPU() * 4) + errG.SetLimit(runtime.NumCPU() * 16) _ = table.IterateAll(func(tableRecord locode.Record) error { errG.Go(func() error { return processTableRecord(tableRecord, airports, continents, names, db)