Skip to content

Commit

Permalink
Apply comments from #4275 and add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rdettai committed Jan 14, 2025
1 parent 8e8d3f8 commit ad63ee2
Show file tree
Hide file tree
Showing 4 changed files with 355 additions and 117 deletions.
4 changes: 2 additions & 2 deletions quickwit/quickwit-indexing/src/actors/indexing_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,10 @@ impl IndexingService {
storage_resolver: StorageResolver,
event_broker: EventBroker,
) -> anyhow::Result<IndexingService> {
let split_store_space_quota = SplitStoreQuota::new(
let split_store_space_quota = SplitStoreQuota::try_new(
indexer_config.split_store_max_num_splits,
indexer_config.split_store_max_num_bytes,
);
)?;
let merge_io_throughput_limiter_opt =
indexer_config.max_merge_write_throughput.map(io::limiter);
let split_cache_dir_path = get_cache_directory_path(&data_dir_path);
Expand Down
Loading

0 comments on commit ad63ee2

Please sign in to comment.