Skip to content

Commit

Permalink
fix: crawlID should not be n-1 during ensurePartition (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
kasteph authored Jun 19, 2024
1 parent d88a08f commit 13c06a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/client_db.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ func (c *DBClient) ensurePartitions(ctx context.Context, baseDate time.Time) {
}
maxCrawlID := 0
if crawl != nil {
maxCrawlID = crawl.ID
maxCrawlID = crawl.ID + 1
}

neighborsPartitionSize := 1000
Expand Down

0 comments on commit 13c06a3

Please sign in to comment.