[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/konqsidebar_plugins/konqsidebarnews
From: Marcus Camen <mcamen () mcamen ! de>
Date: 2003-03-18 10:14:02
[Download RAW message or body]
CVS commit by mcamen:
I just didn't realize that Ian already implemented the
'prevent-DoS-attack' magic in the rss service. :)
We now check every 10 minutes for new updates, still hardcoded.
M +0 -5 README 1.26
M +3 -1 nspanel.cpp 1.25
--- kdenonbeta/konqsidebar_plugins/konqsidebarnews/README #1.25:1.26
@@ -3,9 +3,4 @@
with the DCOP service first before trying the konqueror sidebar applet.
-Currently the RSS sources are updated every 61 minutes.
-
-If you are connecting to RSS servers please note that a too short update
-interval might be interpreted as DoS attack, so be careful!
-
--- kdenonbeta/konqsidebar_plugins/konqsidebarnews/nspanel.cpp #1.24:1.25
@@ -85,7 +85,8 @@ NSPanel::NSPanel(QObject *parent, const
connectDCOPSignal("rssservice", m_rssdocument.obj(), "pixmapUpdated(DCOPRef)", \
"emitPixmapUpdated(DCOPRef)", false);
+ // updating of RSS documents
+ m_timeoutinterval = 10 * 60 * 1000; // 10 mins
m_timer = new QTimer(this);
connect(m_timer, SIGNAL(timeout()), this, SLOT(refresh()));
- m_timeoutinterval = 61 * 60 * 1000; // TODO: do not hardcode this
m_timer->start(m_timeoutinterval);
refresh();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic