-
Notifications
You must be signed in to change notification settings - Fork 11
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
speed - imap use optimization #31
Comments
It's a very interesting assignment. And it's not easy :)
Yes, for now for the prototype we are creating a new connection for each screen. This task will take a long time, and I will have to investigate some moments. |
Yes I understand that. It makes sense, I would do the same for a prototype. But the responsiveness/usefulness of the app would really suffer if we left it this way, I think. |
Yes, we need to make improvements that you described. Then the application will be much more comfortable. |
@DenBond7 somehow it was failing during build. Maybe some of your updates to |
@tomholub Yes, that's right. I missed one file for the commit. |
For me
https://stackoverflow.com/questions/12732584/threadsafety-in-javamail |
Created EmailSyncService, GmailSynsManager and other.
…SyncService. | #31. Added a "messages" table to the database.
…ages, force load a new and update labels. | #31.
I like the progress here! Let me know when it's ready to test, I'm looking forward to try it. |
…Added handle errors from EmailSyncService. | #31.
Finally, I made the stable version for testing. Now you can start testing. After the work done, I would like to add some comments:
|
Perfect, I like that you prepared it for auto sync. That will be great in the future. I'm closing this for now unless there are things that you want to add now. |
We have to do some speed improvements. I'm currently also working on a Desktop app for Windows/Linux/Macos that also uses IMAP, so I have a little better understanding of this now.
Dealing with folders:
This will mean we don't have to wait extra time while the app is pulling list of folders every time.
Displaying messages: loading a message takes way too long. I suspect we are creating a new connection for each screen?
The text was updated successfully, but these errors were encountered: