Tue 24 Dec 2002 05:42:55 AM UTC, comment #2:
Folder size, this is the total bytes used in each folder, has been temporarily depreciated, it will reappear on a different page, probably the "folders" page, and will be available on request only.
Background info: folder byte size for UWash folders is the size of the 1 file that UWash uses as a "folder", and folder size for maildir type systems is the total of every indiviaul file in the maildir directory, which is each message in the "folder". Folder size for all the folders in an account is that operation on all folders.
These operations are time consuming and do not belong in per-page stats, i.e. this data needs to be moved off of the message list page.
Technically there are 2 IMAP commands to obtain folder stats (number new, unread, total messages), one does NOT ask for folder size, and the other DOES ask for folder size. The one that does NOT ask for folder size is quicker and anglemail has migrated to this command only. However, folder size is important information that should be available on another page, probably the folders page.
Therefor this is a bug because the incorrect "1k" appears on the message list page, and this is part of the migration of this feature to the folders page.
|
Sun 22 Dec 2002 06:38:06 AM UTC, comment #1:
Technically this is a bug, but to fix it causes a performance hit. You can turn off "extreme caching" which is a boolean flag. Look in email/inc/class.mail_msg_base.inc.php try line 269:
var $session_cache_extreme = True;
comment out that line
and uncomment the line below it:
//var $session_cache_extreme = False;
This will disable the extreme caching, and give you the folder size. Please be aware this will cause a drop in performance.
I know this has been fixed in the latest release of anglemail, but this requires the use of a db table for caching the email data - and so can't be included in the stable branch of phpgw.
I have left this report open for the time being, but made its status "Later", as afaik its not possible to fix it in stable.
Cheers
|