Closed Bug 506132 Opened 15 years ago Closed 15 years ago

write session data to disk less often in WinCE

Categories

(Firefox :: Session Restore, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dietrich, Assigned: zpao)

Details

(Whiteboard: [nv])

Attachments

(1 file, 1 obsolete file)

      No description provided.
Whiteboard: [nv]
I'll take this. It's as simple as setting browser.sessionstore.interval to be higher.

Right now we set it to 10s. What should we do on CE?
Assignee: nobody → paul
Status: NEW → ASSIGNED
Attached patch Patch v0.1 (obsolete) — Splinter Review
Made the default every 20 seconds for WinCE.
Attachment #391119 - Flags: review?(vladimir)
Comment on attachment 391119 [details] [diff] [review]
Patch v0.1

Make it 60s maybe?  Though really what we should do is something like 20s while on power, 60s while on battery.
Attachment #391119 - Flags: review?(vladimir) → review+
(In reply to comment #3)
> (From update of attachment 391119 [details] [diff] [review])
> Make it 60s maybe?  Though really what we should do is something like 20s while
> on power, 60s while on battery.

Made it 60s. That's a bit high, but should probably be OK. When we get the power notification service I think it would be worth making session store like you suggest. I'll file a bug for that.
Attachment #391119 - Attachment is obsolete: true
pushed http://hg.mozilla.org/mozilla-central/rev/5508f700cfcf
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
It's been brought to my attention by sdwilsh that I probably should have put a new #ifdef with the previous declaration of this pref (based on something mconnor apparently said) - should I fix that?
Yes, I think we should fix that for all the WinCE-specific prefs in that block (in a new bug).
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: