Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Convert the message handler to async/await #7884

Merged
merged 16 commits into from
Jul 22, 2020
Merged

Conversation

clokep
Copy link
Member

@clokep clokep commented Jul 17, 2020

This is the last big piece of synapse.handlers to convert. It was a bit more involved since it is touch in so many places. I converted this method by method as separate commits since I had previously tried to convert this and failed.

The two interesting commits are 48c7f92 and e76d407. The rest are pretty mechanical.

@clokep clokep requested a review from a team July 17, 2020 15:40
Copy link
Member

@anoadragon453 anoadragon453 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of small things here and there, but great overall.

synapse/handlers/message.py Outdated Show resolved Hide resolved
synapse/handlers/message.py Outdated Show resolved Hide resolved
synapse/handlers/message.py Show resolved Hide resolved
synapse/handlers/message.py Outdated Show resolved Hide resolved
tests/test_visibility.py Show resolved Hide resolved
clokep and others added 3 commits July 21, 2020 07:10
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
@clokep
Copy link
Member Author

clokep commented Jul 21, 2020

@anoadragon453 Thanks for the review! I handled all your comments or responded, let me know if I should make more changes!

Copy link
Member

@anoadragon453 anoadragon453 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@clokep clokep merged commit cc9bb3d into develop Jul 22, 2020
@clokep clokep deleted the clokep/async-message branch July 22, 2020 16:29
@clokep clokep mentioned this pull request Jul 30, 2020
48 tasks
babolivier pushed a commit that referenced this pull request Sep 1, 2021
* commit 'cc9bb3dc3':
  Convert the message handler to async/await. (#7884)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants