Skip to content

Commit

Permalink
fix: Update the default batch size from 10 to 5.
Browse files Browse the repository at this point in the history
  • Loading branch information
vanitabhagwat authored Jan 22, 2025
1 parent 4f4302f commit e4ca438
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/internal/feast/onlinestore/cassandraonlinestore.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ func extractCassandraConfig(onlineStoreConfig map[string]any) (*CassandraConfig,

keyBatchSize, ok := onlineStoreConfig["key_batch_size"]
if !ok {
keyBatchSize = 10.0
log.Warn().Msg("key_batch_size not specified, defaulting to batches of size 10")
keyBatchSize = 5.0
log.Warn().Msg("key_batch_size not specified, defaulting to batches of size 5")
}
cassandraConfig.keyBatchSize = int(keyBatchSize.(float64))

Expand Down

0 comments on commit e4ca438

Please sign in to comment.