Update of /cvsroot/pybot/pybot/pybot/modules
In directory sc8-pr-cvs1:/tmp/cvs-serv27030/pybot/modules
Modified Files:
rss.py
Log Message:
Try not to fetch more than one rss news at the same time.
Index: rss.py
===================================================================
RCS file: /cvsroot/pybot/pybot/pybot/modules/rss.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** rss.py 26 Aug 2003 19:56:23 -0000 1.5
--- rss.py 26 Aug 2003 20:25:44 -0000 1.6
***************
*** 131,134 ****
--- 131,136 ----
"where id=%s", (now, feed.id))
thread.start_new_thread(self.fetch_news, (feed, now))
+ # Try not to fetch more than one at the same time
+ break
# Now check if we must show something
|