Skip to content

Commit

Permalink
fix(file source): Fix tailing problem when source number greater than…
Browse files Browse the repository at this point in the history
… 512 (#17717)

fix: #17360
  • Loading branch information
honganan authored Jun 28, 2023
1 parent fdf02d9 commit 23a3e0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ fn get_log_levels(default: &str) -> String {

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

if let Some(threads) = threads {
Expand Down

0 comments on commit 23a3e0e

Please sign in to comment.