[Sugar-devel] Patch review request for ticket #2290
Dipankar Patro
dipankar at seeta.in
Sun Sep 5 10:44:51 EDT 2010
Hi,
In reference to ticket #2290 (http://bugs.sugarlabs.org/ticket/2290)
I have uploaded a patch (have attached it too).
Problem: in the register procedure the time out of connection was not
implemented, for an unavailable server.
Solution in Patch:
- Have implemented a TimedOut connection (TimedOutServerProxy( ) function)
which encounters the problem of unavailable servers.
- The connection timeout can be changed in seconds through the variable :
'timeout'.
The default setting is at : timeout=socket._GLOBAL_DEFAULT_TIMEOUT
Change it to : timeout=10, to find Sugar does not freeze anymore.
Regards,
Dipankar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sugarlabs.org/archive/sugar-devel/attachments/20100905/67c82256/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Register-Bug-Solution-ticket-#2290.patch
Type: text/x-patch
Size: 3162 bytes
Desc: not available
Url : http://lists.sugarlabs.org/archive/sugar-devel/attachments/20100905/67c82256/attachment.bin
More information about the Sugar-devel
mailing list