Skip to content

Commit

Permalink
Remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
brawer committed May 14, 2024
1 parent 2df6096 commit f89bf20
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions cmd/qrank-builder/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,20 +127,6 @@ func computeQRank(dumpsPath string, testRun bool, storage *minio.Client) error {
return err
}

// TOOD: The following is just a benchmark to see how long it takes
// to read all page_entities within the Wikimedia datacenter.
// Once we know it's reasonable to do this, we can remove this code.
logger.Printf("start reading page_signals")
scanner := NewPageSignalsScanner(sites, s3)
var numSignals int64 = 0
for scanner.Scan() {
numSignals += 1
}
if err := scanner.Err(); err != nil {
return err
}
logger.Printf("finished reading %d page_signals", numSignals)

// TODO: Old code starts here, remove after new implementation is done.
return nil

Expand Down

0 comments on commit f89bf20

Please sign in to comment.