All users were logged out of Bugzilla on October 13th, 2018

Use new shutdown service to empty trash, expunge inbox, compact folders on shutdown

NEW
Unassigned

Status

11 years ago
8 months ago

People

(Reporter: Bienvenu, Unassigned)

Tracking

Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [patchlove][has draft patch])

Attachments

(1 attachment)

(Reporter)

Description

11 years ago
Created attachment 286332 [details] [diff] [review]
work in progress

In order to test the new shutdown service, and refine its API, I've done a little work to move expunging the inbox and emptying trash on shutdown to the new shutdown service, and reworked the compact folder code so that it can be used by the shutdown service (which mostly involves making sure the url listener is notified). The attached patch basically works though it needs to be improved on. It should use a pref to decide if it should compact on exit, and shouldn't hard-code the per-server threshold (though using the global threshold isn't the right thing either). We could perhaps prompt the user if they want to compact folders on exit as well...
(Reporter)

Comment 1

11 years ago
making dependent on shutdown service bug.
Depends on: 397498
(Reporter)

Comment 2

11 years ago
if we do this, instead of just commenting out the call to hashshutdown servers, we should remove all that code as well.
OS: Windows XP → All
Hardware: PC → All
(Assignee)

Updated

10 years ago
Product: Core → MailNews Core

Updated

6 years ago
Blocks: 76691

Updated

6 years ago
Assignee: mozilla → nobody
Whiteboard: [patchlove][has draft patch]

Updated

8 months ago
Duplicate of this bug: 76691
You need to log in before you can comment on or make changes to this bug.