From f7754cfc9983da3cee3ccfa202a691bd2e2e0f26 Mon Sep 17 00:00:00 2001 From: Will Hunt Date: Tue, 5 Dec 2023 10:12:19 +0000 Subject: [PATCH] Set retry_last_ts and retry_interval --- synapse/rest/admin/federation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/synapse/rest/admin/federation.py b/synapse/rest/admin/federation.py index a6ce787da1af..2f238f021776 100644 --- a/synapse/rest/admin/federation.py +++ b/synapse/rest/admin/federation.py @@ -89,8 +89,8 @@ async def on_GET(self, request: SynapseRequest) -> Tuple[int, JsonDict]: "destinations": [ { "destination": r[0], - "retry_last_ts": r[1], - "retry_interval": r[2], + "retry_last_ts": r[1] or 0, + "retry_interval": r[2] or 0, "failure_ts": r[3], "last_successful_stream_ordering": r[4], }