-
Notifications
You must be signed in to change notification settings - Fork 7
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
feat: add abandoned_time_limit to PublisherStalledCheck #74
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ events: | |
# NOTE: Uncomment to enable Datadog metrics, see README.md for datadog credential docs. | ||
# - DatadogEvent | ||
- LogEvent | ||
- TelegramEvent | ||
# - TelegramEvent | ||
checks: | ||
global: | ||
# Price feed checks | ||
|
@@ -46,7 +46,8 @@ checks: | |
max_aggregate_distance: 6 | ||
PublisherStalledCheck: | ||
enable: true | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Setting There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. well the reason for this is to test it for a couple of symbols first (since the less liquid ones are noisy), if we set it to false then all will be disabled There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmmm i think this is because if this be |
||
stall_time_limit: 60 | ||
stall_time_limit: 30000000 # arbitrary large number to "disable" this check while allowing per feed config to override | ||
abandoned_time_limit: 30000000 # arbitrary large number to "disable" this check while allowing per feed config to override | ||
max_slot_distance: 25 | ||
# Per-symbol config | ||
Crypto.MNGO/USD: | ||
|
@@ -57,4 +58,5 @@ checks: | |
max_slot_distance: 10000 | ||
Crypto.BTC/USD: | ||
PublisherStalledCheck: | ||
stall_time_limit: 10 # This will override the global stall_time_limit for Crypto.BTC/USD | ||
stall_time_limit: 30 # This will override the global stall_time_limit for Crypto.BTC/USD | ||
abandoned_time_limit: 600 # 10 minutes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
drive-by: format string here instead of
event.py
which is cleaner