Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dashboard][event] Basic event module #16283

Merged
merged 6 commits into from
Jun 25, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Set the SCAN_EVENT_DIR_INTERVAL_SECONDS defaults to 2
  • Loading branch information
刘宝 committed Jun 7, 2021
commit 3bdaeaf7a925cdecf61ee2e44810218b7d9a2580
2 changes: 1 addition & 1 deletion dashboard/modules/event/event_consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
RETRY_CONNECT_TO_DASHBOARD_INTERVAL_SECONDS = 2
# Monitor events
SCAN_EVENT_DIR_INTERVAL_SECONDS = env_integer(
"SCAN_EVENT_DIR_INTERVAL_SECONDS", 5)
"SCAN_EVENT_DIR_INTERVAL_SECONDS", 2)
SCAN_EVENT_START_OFFSET_SECONDS = -30 * 60
CONCURRENT_READ_LIMIT = 50
READ_LINE_COUNT_LIMIT = 200
Expand Down