[Kde-pim] akonadi_ical_resource problem
Douglas Harms
dharms at depauw.edu
Thu May 28 03:18:01 BST 2009
Your guess appears to be correct! When I disabled monitoring the sync
worked; it also worked when I enabled monitoring but set the AutoSave
interval to a time longer than it takes to process the akonadi records.
(It was originally set for 1 minute autosave, and things worked when I
increased it to 60 minutes.)
This is a reasonable workaround for now, but I'm not sure if this is an
acceptable long term solution for kpilot. I don't think it's a good
design when users might lose data if they have the autosave setting set
too low.
Is there a way kpilot could temporarily disable monitoring on the
akonadi file during the sync? Or is there a better solution?
Thanks for your help - this has been a thorn in my side for some time
now and I'm glad to know there's a workaround.
--Doug
on 05/27/2009 07:01 PM, Kevin Krammer wrote:
>
>
> One idea of what could go wrong is the following:
> the ICAL resource writes to the file when it gets change notifications using a
> configurable delay.
> My guess is that it does that while your sync is in progress.
> By itself this wouldn't be a problem, however, writing the file will result in
> a file change notification, triggering a reload of the file and an explicit
> syncing in the other direction.
>
> You could check if disabling file change monitoring or increasing the write
> delay to something a lot higher than your sync time helps to avoid this
> problem.
>
> Cheers,
> Kevin
>
--
Douglas E. Harms, Ph.D.
Greenleaf Professor of Computer Science
Computer Science Department
DePauw University
Greencastle, IN 46135
voice: 765.658.4727
fax: 765.658.4732
skype: DouglasHarms
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dharms.vcf
Type: text/x-vcard
Size: 375 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20090527/bbb3e394/attachment.vcf>
-------------- next part --------------
_______________________________________________
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