Skip to content

Commit

Permalink
fix: extend default timeout duration for reader flush (#1721)
Browse files Browse the repository at this point in the history
* extend timeout duration for reader flush

* fix E2E stdio timeout
  • Loading branch information
Abingcbc authored Aug 30, 2024
1 parent 0cad509 commit 4307c2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion core/reader/FileReaderOptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ DEFINE_FLAG_INT32(default_tail_limit_kb,
"when first open file, if offset little than this value, move offset to beginning, KB",
1024 * 50);
#endif
DEFINE_FLAG_INT32(default_reader_flush_timeout, "", 5);
DEFINE_FLAG_INT32(default_reader_flush_timeout, "", 60);
DEFINE_FLAG_INT32(delay_bytes_upperlimit,
"if (total_file_size - current_readed_size) exceed uppperlimit, send READ_LOG_DELAY_ALARM, bytes",
200 * 1024 * 1024);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Feature: input container stdio multiline
IgnoringStdout: false
Multiline:
StartPattern: "today"
FlushTimeoutSecs: 5
"""
When start docker-compose {input_container_stdio_multiline}
Then there is at least {1} logs
Expand Down

0 comments on commit 4307c2a

Please sign in to comment.