mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-20 00:34:09 -04:00
Add 'failure_ts' column to 'destinations' table (#6016)
Track the time that a server started failing at, for general analysis purposes.
This commit is contained in:
parent
850dcfd2d3
commit
1e19ce00bf
7 changed files with 195 additions and 12 deletions
|
@ -99,7 +99,12 @@ class TypingNotificationsTestCase(unittest.HomeserverTestCase):
|
|||
self.event_source = hs.get_event_sources().sources["typing"]
|
||||
|
||||
self.datastore = hs.get_datastore()
|
||||
retry_timings_res = {"destination": "", "retry_last_ts": 0, "retry_interval": 0}
|
||||
retry_timings_res = {
|
||||
"destination": "",
|
||||
"retry_last_ts": 0,
|
||||
"retry_interval": 0,
|
||||
"failure_ts": None,
|
||||
}
|
||||
self.datastore.get_destination_retry_timings.return_value = defer.succeed(
|
||||
retry_timings_res
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue