Skip to content
Commit 5d32e4a5 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

Increase the forced event processing to every 1000 iterations

ItemFetchJob on folder with 40000 emails takes 7 seconds without the forced event
processing and almost 100 seconds with forced processing every 100 iterations.
Increasing the limit to every 1000 iterations reduced the FetchJob duration to 25
seconds.

The major difference is in when user sees the first emails in KMail. In the first
case it is about 15 seconds, in the second it's about 4 seconds, in the last case
it's around 7 seconds.

On the other hand when we serve all emails at once to ETM, the threading performs
*MUCH* faster than if we feed it emails in smaller chunks. 1000 iterations seems
to be more or less good balance between those two, but there's still room for finer
tuning.
parent 7d95771d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment