diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2019-07-24 13:16:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-24 13:16:18 +0100 |
commit | f30a71a67b6605cb0f09975af3befc61090326bd (patch) | |
tree | 7ba88e6fbd4da96a38c16cd92e09547b6e36d3eb /changelog.d | |
parent | Add a prometheus metric for active cache lookups. (#5750) (diff) | |
download | synapse-f30a71a67b6605cb0f09975af3befc61090326bd.tar.xz |
Stop trying to fetch events with event_id=None. (#5753)
`None` is not a valid event id, so queuing up a database fetch for it seems like a silly thing to do. I considered making `get_event` return `None` if `event_id is None`, but then its interaction with `allow_none` seemed uninituitive, and strong typing ftw.
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/5753.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/5753.misc b/changelog.d/5753.misc new file mode 100644 index 0000000000..22bba9ce3c --- /dev/null +++ b/changelog.d/5753.misc @@ -0,0 +1 @@ +Stop trying to fetch events with event_id=None. |