This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Option to suppress resource exceeded alerting #6173
Merged
richvdh
merged 19 commits into
develop
from
neilj/disable-mau-alerting-for-small-instances
Oct 24, 2019
Merged
Changes from 18 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
11ccbc6
wip commit to suppress mau alerting for small instances
neilisfragile e4e4364
switch config to a bool and write tests
neilisfragile bd8974c
Merge branch 'develop' of github.com:matrix-org/synapse into neilj/di…
neilisfragile 7716de8
add mau_suppress_alerting
neilisfragile 00ae8b7
black and towncrier
neilisfragile dc8a2d3
respond to review comments
neilisfragile 49b4f96
refactor for clarity
neilisfragile d186657
Merge branch 'develop' of github.com:matrix-org/synapse into neilj/di…
neilisfragile 8adab51
Update synapse/server_notices/resource_limits_server_notices.py
neilisfragile 31dc1a0
ensure that suppresion affects only mau case
neilisfragile 1e1afcc
Merge branch 'neilj/disable-mau-alerting-for-small-instances' of gith…
neilisfragile 7b83fcb
preserve other pinned events on applying block
neilisfragile 9df32f3
isort
neilisfragile 84ca716
back ref_events change
neilisfragile 097d2d7
fix broken method call
neilisfragile 87ff9f0
merge conflicts
neilisfragile 5380b08
Merge branch 'develop' of github.com:matrix-org/synapse into neilj/di…
neilisfragile 1b1b2a2
Address review comments and final cleanups
richvdh 04ec482
fix test failures
richvdh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add config option to suppress client side resource limit alerting. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
this seems to be an existing problem (so not necessarily for fixing as part of this PR), but why do we preserve the other events in this case and not in the
_apply_limit_block_notification
case?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.
From memory the idea was to shut everything down and so all tags should be discarded, but in retrospect this seems unhelpful.
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.
fixed
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.
unfixed, will address in a separate PR.