Skip to content

Decouple syncing sessionstore files and the rest of the profile? #390

@enoryw

Description

@enoryw

Isn't the default of 1 hour for resync-timer incredibly long? If I understand correctly, that means you can potentially lose 1 hour of work if tmpfs gets wiped (e.g. power outage). By contrast, Firefox backs up its session by default every 15 seconds, but with psd working with tmpfs, this would be largely irrelevant?

I feel like syncing only sessionstore files back to disk at say every 1 minute and the rest of the session at say 1 hour or 30 minutes might be more reasonable. I know you can configure resync-timer to run frequently, but that wouldn't be ideal either because that syncs the entire profile back to disk, as opposed to just sessionstore files. I also believe sessionstore files aren't dependent on the state of the rest of the files in the profile folder (correct me if I'm wrong), so this is not an issue.

Unrelated question:

I'm curious if this tool is still relevant to SSD users--does it really offer noticeable performance benefits if disk cache can already be set to use tmpfs in browsers like Firefox?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions