Changeset - 85bb68f64597
default
0
2
0
notifications: improve response time when number of notifications is large
NotificationsController always retrieved materialized list of all notifications
in database, even to display only 10 of them. This is improved by feeding
SQLAlchemy Query object directly to webhelpers.paginate.Page, avoiding eager
load of all notifications.
NotificationsController always retrieved materialized list of all notifications
in database, even to display only 10 of them. This is improved by feeding
SQLAlchemy Query object directly to webhelpers.paginate.Page, avoiding eager
load of all notifications.
2 files changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
0 comments (0 inline, 0 general)