feat: implement PUERTO data generation and loading with improved structure and logging
This commit is contained in:
@@ -14,8 +14,8 @@ import (
|
||||
const (
|
||||
totalRows int = 1_000_000
|
||||
chunkSize int = 50_000
|
||||
schema string = "Cartografia"
|
||||
table string = "MANZANA"
|
||||
schema string = "Red"
|
||||
table string = "PUERTO"
|
||||
queueSize int = 4
|
||||
)
|
||||
|
||||
@@ -39,7 +39,7 @@ func main() {
|
||||
var wgSeed sync.WaitGroup
|
||||
|
||||
wgSeed.Go(func() {
|
||||
seedManzanas(ctx, db)
|
||||
seedPuertos(ctx, db)
|
||||
})
|
||||
|
||||
wgSeed.Wait()
|
||||
|
||||
Reference in New Issue
Block a user