Summary: | Modifying any account flushes every account to storage | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Will Thompson <will> |
Component: | mission-control | Assignee: | Telepathy bugs list <telepathy-bugs> |
Status: | RESOLVED FIXED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | vivek |
Version: | git master | Keywords: | patch |
Hardware: | Other | ||
OS: | All | ||
URL: | http://git.collabora.co.uk/?p=user/wjt/telepathy-mission-control-wjt.git;a=shortlog;h=refs/heads/only-flush-changed-accounts | ||
Whiteboard: | r+ | ||
i915 platform: | i915 features: |
Description
Will Thompson
2010-06-04 10:54:14 UTC
Unfortunately this also happens when I sign in, which entails about 30 seconds of my hard disk thrashing. Perhaps it's updating NormalizedName or the avatar token. I think gnome-keyring must fsync() or similar on every CreateItem() call, and MC makes 384 pairs of Unlock()/CreateItem() calls when I sign in with 6 accounts. Here is a branch which doesn't fix the flushing of unchanged passwords to storage, but does fix flushing all accounts whenever one changes. This reduces the pairs of calls on the keyring when I log in from 384 to 9. We don't need to break libmission-control-plugins API immediately. Here's a version of your branch that adds an optional commit_one() method instead of changing commit(): http://git.collabora.co.uk/?p=user/smcv/telepathy-mission-control-smcv.git;a=shortlog;h=refs/heads/only-flush-changed-accounts With that change, I approve. (In reply to comment #3) > We don't need to break libmission-control-plugins API immediately. Here's a > version of your branch that adds an optional commit_one() method instead of > changing commit(): > > http://git.collabora.co.uk/?p=user/smcv/telepathy-mission-control-smcv.git;a=shortlog;h=refs/heads/only-flush-changed-accounts > > With that change, I approve. I endorse this initiative! Fixed in 5.5.2. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.