Skip to content
Snippets Groups Projects
  • Patrick Cloke's avatar
    da05b70a
    Skip unused calculations in sync handler. (#14908) · da05b70a
    Patrick Cloke authored
    If a sync request does not need to calculate per-room entries &
    is not generating presence & is not generating device list data
    (e.g. during initial sync) avoid the expensive calculation of room
    specific data.
    
    This is a micro-optimisation for clients syncing simply to receive
    to-device information.
    Skip unused calculations in sync handler. (#14908)
    Patrick Cloke authored
    If a sync request does not need to calculate per-room entries &
    is not generating presence & is not generating device list data
    (e.g. during initial sync) avoid the expensive calculation of room
    specific data.
    
    This is a micro-optimisation for clients syncing simply to receive
    to-device information.