now that we have more messages coming out of the database faster,

there's less use in special-casing the first 5
This commit is contained in:
Jesse Vincent 2009-12-18 02:34:50 +00:00
parent c3e903942d
commit dc543fa9e3

View file

@ -592,8 +592,7 @@ public class MessagingController implements Runnable
if (isMessageSuppressed(account, folder, message) == false) { if (isMessageSuppressed(account, folder, message) == false) {
pendingMessages.add(message); pendingMessages.add(message);
totalDone++; totalDone++;
if (totalDone < 5 || pendingMessages.size() > 4) if (pendingMessages.size() > 10) {
{
callbackPending(); callbackPending();
} }
@ -683,7 +682,7 @@ public class MessagingController implements Runnable
public void messagesFinished(int total) {}; public void messagesFinished(int total) {};
public void messageFinished(Message message, int number, int ofTotal) public void messageFinished(Message message, int number, int ofTotal)
{ {