Skip to content

Commit f0ffa22

Browse files
authored
update default value of max_idle_threads to keep consistent with libfuse (deepseek-ai#350)
1 parent 263cde1 commit f0ffa22

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

configs/hf3fs_fuse_main.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ io_job_deq_timeout = '1ms'
1515
io_jobq_size = 1024
1616
iov_limit = '1MB'
1717
max_background = 32
18-
max_idle_threads = 10
18+
max_idle_threads = -1
1919
max_jobs_per_ioring = 32
2020
max_readahead = '16MB'
2121
max_threads = 256

src/fuse/FuseConfig.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ struct FuseConfig : public ConfigBase<FuseConfig> {
3131
CONFIG_HOT_UPDATED_ITEM(enable_read_cache, true);
3232
CONFIG_HOT_UPDATED_ITEM(fsync_length_hint, false); // for test
3333
CONFIG_HOT_UPDATED_ITEM(fdatasync_update_length, false);
34-
CONFIG_ITEM(max_idle_threads, 10);
34+
CONFIG_ITEM(max_idle_threads, -1);
3535
CONFIG_ITEM(max_threads, 256);
3636
CONFIG_ITEM(max_readahead, 16_MB);
3737
CONFIG_ITEM(max_background, 32);

0 commit comments

Comments
 (0)