Sam Saffron 624184560e PERF: improve performance of publish_notifications_state
User.publish_notifications_state is called every time a notification is
created, this can become a very critical code path.

On some heavy notification related sites this can be a major CPU user on PG

This index makes it much cheaper to publish notification state, cause a
simple index lookup does the trick.
2019-05-14 16:02:55 +10:00
..
2019-01-11 14:30:19 -05:00
2019-05-13 15:24:24 +01:00
2019-05-02 16:23:25 +10:00
2019-05-03 08:34:12 +10:00
2019-05-13 15:24:24 +01:00
2019-04-08 17:03:26 +05:30