Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two small enhancements for dealing with large folders #13

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

attilakinali
Copy link

今日は

I have two small fixes that improve sylpheed when handling large folders.

The first ensures that fetched headers are not discarded when an error occurs.
The second speeds up downloading by not updating the UI for every message,
thus decreasing the download time considerably (I got a factor 10 in my setup).

Thanks for your consideration and have a nice day

…ll headers

already fetched. This leads, at the very least, to wasted time because next
time round, these headers have to be fetched again. In case of large directories,
this can lead to never getting the headers of the folder at all, because with
many 100'000 mails per folder, the probability of errors (mostly protocol errors)
increases drastically.

Make sure the fetched headers are not discarded but passed on.

Signed-off-by: Attila Kinali <attila@kinali.ch>
An awful lot of time is spend on updating the status bar when
downloading messages. Especially when a folder is almost completely
available locally, with only a few messages that need to be fetched.
In that case the update of the status bar will dominate the downloading.
Updating only every 128th message reduced the download time in my
set-up from 25 minutes to 3 minutes.

Signed-off-by: Attila Kinali <attila@kinali.ch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant