[Svn] r2339

Thomas Bruederli roundcube at gmail.com
Tue Mar 10 17:10:07 CET 2009


A.L.E.C wrote:
> Thomas Bruederli wrote:
>
>> It's been a while since I worked with Roundcube, so I've been playing
>> catchup on all the new code.  I didn't come across the action matching
>> initially and it's true that it was probably finding the include without
>> the change.
>>
>> The actual problem was using "RECENT" for the test, and then "UNSEEN"
>> for the actual count.  There are cases under Dovecot IMAP when these two
>> will be different, and Roundcube was not updating the message count on a
>> check-recent action.  Making that change fixed Dovecot compatibility.
>
> It's not compatibility problem but performance. Checking for UNSEEN
> count was done only when mailbox has new messages and I think it was not
> bad. Currently counting of UNSEEN messages is done on every check_recent
> call.
>
But only if check_all_folders is enabled. Otherwise it uses the cached 
value. BTW is UNSEEN much more expensive than RECENT?

~Thomas
_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list