Skip to content

Commit

Permalink
Update logreader_timeout_interval and workflow (#1041)
Browse files Browse the repository at this point in the history
* Update logreader_timeout_interval

86400 * 30000 > INT32

* update workflow pull_request paths-ignore
  • Loading branch information
Takuka0311 authored Aug 5, 2023
1 parent 5eb99e8 commit e6d1c0a
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/build-core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ on:
- 'example_config/**'
- 'docker/**'
- 'k8s_template/**'
- 'changes/**'
- 'licenses/**'
- 'CHANGELOG.md'
push:
branches:
- main
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-pure-plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ on:
- 'example_config/**'
- 'docker/**'
- 'k8s_template/**'
- 'changes/**'
- 'licenses/**'
- 'CHANGELOG.md'
push:
branches:
- main
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ on:
- 'example_config/**'
- 'docker/**'
- 'k8s_template/**'
- 'changes/**'
- 'licenses/**'
- 'CHANGELOG.md'
push:
branches:
- main
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/e2e-core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ on:
- 'example_config/**'
- 'docker/**'
- 'k8s_template/**'
- 'changes/**'
- 'licenses/**'
- 'CHANGELOG.md'
push:
branches:
- main
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ on:
- 'example_config/**'
- 'docker/**'
- 'k8s_template/**'
- 'changes/**'
- 'licenses/**'
- 'CHANGELOG.md'
push:
branches:
- main
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/static-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ on:
- 'example_config/**'
- 'docker/**'
- 'k8s_template/**'
- 'changes/**'
- 'licenses/**'
- 'CHANGELOG.md'
push:
branches:
- main
Expand Down
2 changes: 1 addition & 1 deletion core/event_handler/EventHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ using namespace sls_logs;
DEFINE_FLAG_INT64(read_file_time_slice, "microseconds", 50 * 1000);
DEFINE_FLAG_INT32(logreader_timeout_interval,
"reader hasn't updated for a long time will be removed, seconds",
86400 * 30000); // roughly equivalent to not releasing logReader when timed out
86400 * 20000); // roughly equivalent to not releasing logReader when timed out
DEFINE_FLAG_INT32(cookie_timeout_interval,
"rotate cookie hasn't updated for a long time will be removed, seconds",
1800);
Expand Down

0 comments on commit e6d1c0a

Please sign in to comment.