HomePhorge

Avoid sending the body on flag change

Description

Avoid sending the body on flag change

Summary:
It's not completely minimal, but much closer:

<Change>
    <ServerId>38b950ebd62cd9a66929c89615d0fc04::37</ServerId>
    <ApplicationData>
        <DateReceived xmlns="uri:Email">2024-05-08T10:57:47.000Z</DateReceived>
        <From xmlns="uri:Email">Sync 1 &lt;user@domain.tld&gt;</From>
        <InternetCPID xmlns="uri:Email">65001</InternetCPID>
        <Subject xmlns="uri:Email">test sync</Subject>
        <To xmlns="uri:Email">To 1 &lt;kolab1@domain.tld&gt;,To 2 &lt;kolab2@domain.tld&gt;</To>
        <Read xmlns="uri:Email">0</Read>
        <Flag xmlns="uri:Email"/>
    </ApplicationData>
</Change>

Should be a major perforamnce enhancer if e.g. a lot of tags are used.

Differential Revision: https://git.kolab.org/D4695

Details

Provenance
mollekopfAuthored on May 8 2024, 11:40 AM
mollekopfPushed on May 21 2024, 3:44 PM
Differential Revision
D4695: Avoid sending the body on flag change
Parents
rS8d955e9bcb7a: This is a perfectly normal condition and shouldn't be a warning
Branches
Unknown
Tags
Unknown
Build Status
Buildable 47295