Patch for Timeout Issue when Importing Phonebook
Gu, Yang
yang.gu at intel.com
Wed Aug 5 23:47:27 PDT 2009
It often needs a long time (more than default timeout of D-Bus) to retrieve all the entries from phonebook. This patch is to set the timeout to 100 seconds so that the operation has enough time to get the result.
Regards,
-Yang
>-----Original Message-----
>From: ofono-bounces at ofono.org [mailto:ofono-bounces at ofono.org] On Behalf
>Of Gu, Yang
>Sent: Thursday, August 06, 2009 12:10 AM
>To: ofono at ofono.org
>Subject: RE: light test report for ofono v0.2
>
>>4) timeout when reading records at the first time
>Reading records from SIM card requires more time than default timeout of
>D-Bus, so you will get timeout error when you invoke the method via D-Bus
>for the first time. The result will be cached once oFono gets all the records,
>thus you may get the records very quickly for the second, third, .., time.
>I will try to update the test case to retrieve the records in an asynchronous
>way.
>
>Regards,
>-Yang
>_______________________________________________
>ofono mailing list
>ofono at ofono.org
>http://lists.ofono.org/listinfo/ofono
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Enlarge-the-timeout-for-phonebook-import.patch
Type: application/octet-stream
Size: 646 bytes
Desc: 0001-Enlarge-the-timeout-for-phonebook-import.patch
URL: <http://lists.ofono.org/pipermail/ofono/attachments/20090806/f619b116/attachment.obj>
More information about the ofono
mailing list