Skip to content

Commit

Permalink
refactor: update configuration (#19501) (#19516)
Browse files Browse the repository at this point in the history
  • Loading branch information
zwang28 authored Nov 21, 2024
1 parent 6984916 commit 03dd384
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/common/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1739,7 +1739,7 @@ pub mod default {
}

pub fn time_travel_version_cache_capacity() -> u64 {
32
2
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/config/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ This page is automatically generated by `./risedev generate-example-config`
| shared_buffer_min_batch_flush_size_mb | The minimum total flush size of shared buffer spill. When a shared buffer spilled is trigger, the total flush size across multiple epochs should be at least higher than this size. | 800 |
| sstable_id_remote_fetch_number | Number of SST ids fetched from meta per RPC | 10 |
| table_info_statistic_history_times | The window size of table info statistic history. | 240 |
| time_travel_version_cache_capacity | | 32 |
| time_travel_version_cache_capacity | | 2 |
| write_conflict_detection_enabled | Whether to enable write conflict detection | true |

## streaming
Expand Down
2 changes: 1 addition & 1 deletion src/config/example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ table_info_statistic_history_times = 240
mem_table_spill_threshold = 4194304
compactor_max_overlap_sst_count = 64
compactor_max_preload_meta_file_count = 32
time_travel_version_cache_capacity = 32
time_travel_version_cache_capacity = 2

[storage.cache.block_cache_eviction]
algorithm = "Lru"
Expand Down

0 comments on commit 03dd384

Please sign in to comment.