From: Michael B. <mic...@cm...> - 2009-09-29 11:00:16
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Tino, Tino Keitel wrote: > > finally, I figured out how to transfer new contacts to the phone. It > looks like there is some kind of limit. If I add just 3 contacts and > not over 100, it works. I also tried with 10 and 5 contacts, but > osynctool still hangs. > > Can I enforce this limit in the config file somehow? This is an old bug of OpenSync internal change handling. OpenSync's engine has an internal pendingLimit for the number of changes which are pushed to a plugin. If this limit is reached then OpenSync waits until at minimum one change is committed. libsyncml as SyncML implementation only sends a message if the message is full in terms of MaxMsgSize. This is usually a limit of the phone. So if the limit of the phone (MaxMsgSize) would allow to pack 6 changes in a message and the pendingLimit of OpenSync is 5 then there is a dead lock. OpenSync waits for a commit signal for at minimum one change and libsyncml waits for the next change. This bug exists for a long time and I think that the limit is not configurable today. So the bug must be fixed (e.g. by a configurable limit which is much bigger than 5 by default). Actually I'm not able to fix it because my actual knowledge of the related OpenSync code is too small :( Best regards Michael - -- ___________________________________________________________________ Michael Bell Humboldt-Universitaet zu Berlin Tel.: +49 (0)30-2093 2482 ZE Computer- und Medienservice Fax: +49 (0)30-2093 2704 Unter den Linden 6 mic...@cm... D-10099 Berlin ___________________________________________________________________ PGP Fingerprint: 09E4 3D29 4156 2774 0F2C C643 D8BD 1918 2030 5AAB -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkrB6PsACgkQ2L0ZGCAwWquVNQCfcqpnMFEAlEopRyT9zegJl5KW efAAoJ1yXRlyDh4dfMuHtgT4skZLKX+j =5uRo -----END PGP SIGNATURE----- |