This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
EventsPersistenceStorageController.persist_event
is only used by test code
#14039
Labels
O-Uncommon
Most users are unlikely to come across this or unexpected workflow
T-Task
Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.
Z-Cleanup
Things we want to get rid of, but aren't actively causing pain
Z-Dev-Wishlist
Makes developers' lives better, but doesn't have direct user impact
Z-Help-Wanted
We know exactly how to fix this issue, and would be grateful for any contribution
The following method is only used by test code (albeit extensively):
synapse/synapse/storage/controllers/persist_events.py
Lines 441 to 474 in 6caa303
Non-test code instead makes use of
EventsPersistenceStorageController.persist_events
:synapse/synapse/storage/controllers/persist_events.py
Lines 364 to 439 in 6caa303
It seems sensible to remove
persist_event
and migrate the test code to use the plural version of the method instead.The text was updated successfully, but these errors were encountered: