projects
/
feedingit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4d62c2b
)
Set the woodchuck update interval according to the config
author
Neal H. Walfield
<neal@walfield.org>
Sat, 26 Nov 2011 22:18:47 +0000
(23:18 +0100)
committer
Neal H. Walfield
<neal@walfield.org>
Sun, 27 Nov 2011 17:00:57 +0000
(18:00 +0100)
src/rss_sqlite.py
patch
|
blob
|
history
diff --git
a/src/rss_sqlite.py
b/src/rss_sqlite.py
index
9bc7a8a
..
3a00254
100644
(file)
--- a/
src/rss_sqlite.py
+++ b/
src/rss_sqlite.py
@@
-1004,8
+1004,8
@@
class Listing(BaseObject):
logger.debug(
"Registering previously unknown channel: %s (%s)"
% (key, title,))
- # Use a default refresh interval of 6 hours.
- wc().stream_register (key, title, 6 * 60 * 60)
+ wc().stream_register(
+ key, title, self.config.getUpdateInterval * 60 * 60)
else:
# Make sure the human readable name is up to date.
if wc()[key].human_readable_name != title: