mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-09 12:02:14 -04:00
Remove code which updates application_services_state.last_txn
(#12680)
This column is unused as of #12209, so let's stop writing to it.
This commit is contained in:
parent
a34a41f135
commit
24b590de32
5 changed files with 35 additions and 55 deletions
|
@ -434,16 +434,6 @@ class ApplicationServicesHandlerSendEventsTestCase(unittest.HomeserverTestCase):
|
|||
},
|
||||
)
|
||||
|
||||
# "Complete" a transaction.
|
||||
# All this really does for us is make an entry in the application_services_state
|
||||
# database table, which tracks the current stream_token per stream ID per AS.
|
||||
self.get_success(
|
||||
self.hs.get_datastores().main.complete_appservice_txn(
|
||||
0,
|
||||
interested_appservice,
|
||||
)
|
||||
)
|
||||
|
||||
# Now, pretend that we receive a large burst of read receipts (300 total) that
|
||||
# all come in at once.
|
||||
for i in range(300):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue