summary refs log tree commit diff
path: root/synapse/push/httppusher.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2021-04-21 15:35:38 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2021-04-21 15:35:38 +0100
commit7ba1c6287574f3762537bbe7a9ab0d12d15a6c8c (patch)
treed0b0ffb2744e3fcace8312bfc4a2cee13b288a58 /synapse/push/httppusher.py
parentMerge commit '1c9a85056' into anoa/dinsic_release_1_31_0 (diff)
parent1.25.0rc1 (diff)
downloadsynapse-7ba1c6287574f3762537bbe7a9ab0d12d15a6c8c.tar.xz
Merge commit '2fe0fb21f' into anoa/dinsic_release_1_31_0
Diffstat (limited to '')
-rw-r--r--synapse/push/httppusher.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/push/httppusher.py b/synapse/push/httppusher.py

index 417fe0f1f5..e048b0d59e 100644 --- a/synapse/push/httppusher.py +++ b/synapse/push/httppusher.py
@@ -176,7 +176,6 @@ class HttpPusher(Pusher): Never call this directly: use _process which will only allow this to run once per pusher. """ - assert self.last_stream_ordering is not None unprocessed = await self.store.get_unread_push_actions_for_user_in_range_for_http( self.user_id, self.last_stream_ordering, self.max_stream_ordering ) @@ -205,7 +204,6 @@ class HttpPusher(Pusher): http_push_processed_counter.inc() self.backoff_delay = HttpPusher.INITIAL_BACKOFF_SEC self.last_stream_ordering = push_action["stream_ordering"] - assert self.last_stream_ordering is not None pusher_still_exists = await self.store.update_pusher_last_stream_ordering_and_success( self.app_id, self.pushkey,