Skip to content

Commit 23a3e0e

Browse files
authored
fix(file source): Fix tailing problem when source number greater than 512 (vectordotdev#17717)
fix: vectordotdev#17360
1 parent fdf02d9 commit 23a3e0e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,7 @@ fn get_log_levels(default: &str) -> String {
421421

422422
pub fn build_runtime(threads: Option<usize>, thread_name: &str) -> Result<Runtime, ExitCode> {
423423
let mut rt_builder = runtime::Builder::new_multi_thread();
424+
rt_builder.max_blocking_threads(20_000);
424425
rt_builder.enable_all().thread_name(thread_name);
425426

426427
if let Some(threads) = threads {

0 commit comments

Comments
 (0)