commit to database after fetching of feed, in hope to reduce duplicate entries
This commit is contained in:
parent
24209b4869
commit
8eb6ed2a6d
@ -102,6 +102,7 @@ class Feed(Base):
|
||||
entries_new += 1
|
||||
print 'updated %d of %d entries' % (entries_new, entries_total)
|
||||
self.housekeeper(session)
|
||||
session.commit()
|
||||
|
||||
def housekeeper(self, session):
|
||||
count = 0
|
||||
|
Loading…
Reference in New Issue
Block a user