Skip to content

Commit

Permalink
Use batch size of 20
Browse files Browse the repository at this point in the history
  • Loading branch information
acevedosharp committed Dec 11, 2024
1 parent e7f7c0f commit 2c3f1de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/internal/feast/onlinestore/cassandraonlinestore.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ func (c *CassandraOnlineStore) OnlineRead(ctx context.Context, entityKeys []*typ

// do batching
nKeys := len(serializedEntityKeys)
batchSize := 10
batchSize := 20
nBatches := int(math.Ceil(float64(nKeys) / float64(batchSize)))

batches := make([][]any, nBatches)
Expand Down

0 comments on commit 2c3f1de

Please sign in to comment.