Skip to content

Commit

Permalink
fix: remove debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanSpeakEasy authored and daveshanley committed Jan 10, 2023
1 parent 52f9868 commit 5f92de6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions datamodel/high/base/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,6 @@ func NewSchema(schema *base.Schema) *Schema {
Value: sch.Value,
}}

fmt.Println("building schema", idx, sch)

bChan <- buildResult{idx: idx, s: p}
}

Expand All @@ -333,15 +331,13 @@ func NewSchema(schema *base.Schema) *Schema {
bChan := make(chan buildResult)
totalSchemas := len(schemas)
for i := range schemas {
fmt.Println("start build schema", i, schemas[i])
go buildSchema(schemas[i], i, bChan)
}
j := 0
for j < totalSchemas {
select {
case r := <-bChan:
j++
fmt.Println("got schema", r.idx, "of", totalSchemas)
(*items)[r.idx] = r.s
}
}
Expand Down

0 comments on commit 5f92de6

Please sign in to comment.