[Kde-pim] korganizer doesn't save resources immediately when changed or deleted (bug 143511)

Reinhold Kainhofer reinhold at kainhofer.com
Thu Mar 29 12:10:19 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Donnerstag, 29. März 2007 schrieb Cornelius Schumacher:
> On Thursday 29 March 2007 04:14, Reinhold Kainhofer wrote:
> > Am Donnerstag, 29. März 2007 schrieb Jason 'vanRijn' Kasper:
> > > I'll of course
> > > ask for permission to commit before I do, but do I have your agreement
> > > that this is the Right Thing To Do (TM)?  =:)
> >
> > the current (default) interval of 10 minutes is really too long, you are
> > right. I would think that at most half a minute (or something like 10
> > seconds) should be used (yes, the current API doesn't support that) to
> > make sure that not every part of a larger change triggers its own saving.
>
> Can't we just use the SaveDelayed save policy from ResourceCached by
> default, which saves 15 seconds after something has changed.

Ah, right, that would be a call to
void ResourceCached::setSavePolicy( int i )
with i=SaveDelayed in the constructor. I wonder why we don't use that 
already,,,

Cheers, 
Reinhold


- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: reinhold at kainhofer.com, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGC56iTqjEwhXvPN0RAjVGAJ9FJ8Hhb/UfL3jns6iC87OuQEmcVgCgufxW
4MyMjAEy4lFO1fv+ANplPZg=
=ZKTZ
-----END PGP SIGNATURE-----
_______________________________________________
kde-pim mailing list
kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/


More information about the kde-pim mailing list