GNOME Bugzilla – Bug 491977
Freezes whole browser
Last modified: 2007-11-01 01:16:05 UTC
Synchronizing bookmarks leads to freeze for me. This is caused by aggressive throttling rules applied by del.icio.us to https://api.del.icio.us/v1/posts/all and by stupid code in libepilicious/delicious.py. I did not yet done any synchronisation, but for some reason I got already blocked by del.icio.us (maybe NAT issue, I don't know), so I can not access https://api.del.icio.us/v1/posts/all at all - it always gives me HTTP 503. The reaction of epilicious on this is quite stupid - it loops forever and waits till it gets another reply than HTTP 503, which will probably take insanely long!
I first reported it to Debian - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=448685
Code which causes this is here: http://svn.gnome.org/viewvc/epiphany-extensions/trunk/extensions/epilicious/delicious.py?annotate=1530#l42
Created attachment 98226 [details] [review] Hack to limit number of loops I created simple patch which limits number of loops to 3. As each loop means 30 seconds, I think it is enough time to consider we will fail anyway.
Fixed in 1602 gnome 2.20 branch 1603 trunk