TheProjecter / whazzup

Automatically exported from code.google.com/p/whazzup
0 stars 0 forks source link

Sometimes hangs a long time waiting for feeds #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Sometimes, when reading a feed, the worker thread hangs for several minutes 
waiting for the server to time out. This means the entire worker thread hangs 
for the same time, blocking all updates. Should redo the code so that it times 
out more quickly.

Original issue reported on code.google.com by lar...@gmail.com on 11 Feb 2011 at 6:34

GoogleCodeExporter commented 9 years ago
Well, that was trivial, it turned out. socket.setdefaulttimeout solved the 
entire thing.

Original comment by lar...@gmail.com on 11 Feb 2011 at 7:03