From 7d2824395faf66347d4534635b408e6ea21d110d Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Thu, 18 Jun 2020 10:47:06 +0100 Subject: [PATCH 1/2] add a comment --- synapse/push/httppusher.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/synapse/push/httppusher.py b/synapse/push/httppusher.py index eaaa7afc91..ed60dbc1bf 100644 --- a/synapse/push/httppusher.py +++ b/synapse/push/httppusher.py @@ -129,6 +129,8 @@ class HttpPusher(object): @defer.inlineCallbacks def _update_badge(self): + # XXX as per https://github.com/matrix-org/matrix-doc/issues/2627, this seems + # to be largely redundant. perhaps we can remove it. badge = yield push_tools.get_badge_count(self.hs.get_datastore(), self.user_id) yield self._send_badge(badge) From 1b1489ff18b748f78e131e2707bd63e72550233d Mon Sep 17 00:00:00 2001 From: Jesse Riddle Date: Fri, 19 Jun 2020 07:19:21 -0400 Subject: [PATCH 2/2] Fixed typo by adding a 'g' to PostgreSQL (#7724) --- README.rst | 2 +- changelog.d/7724.doc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelog.d/7724.doc diff --git a/README.rst b/README.rst index 31d375d19b..2441b6a35c 100644 --- a/README.rst +++ b/README.rst @@ -195,7 +195,7 @@ By default Synapse uses SQLite in and doing so trades performance for convenienc SQLite is only recommended in Synapse for testing purposes or for servers with light workloads. -Almost all installations should opt to use PostreSQL. Advantages include: +Almost all installations should opt to use PostgreSQL. Advantages include: * significant performance improvements due to the superior threading and caching model, smarter query optimiser diff --git a/changelog.d/7724.doc b/changelog.d/7724.doc new file mode 100644 index 0000000000..909e0345c7 --- /dev/null +++ b/changelog.d/7724.doc @@ -0,0 +1 @@ +Corrected misspelling of PostgreSQL.