1000 is a nice chunksize; save_cache a bit more often

This commit is contained in:
Ward Wouts 2003-07-13 10:38:53 +00:00
parent 8b0eb20bdc
commit 95c43e0619

View file

@ -1,6 +1,6 @@
#################################
#
# $Dwarf: article.rb,v 1.70 2003/07/06 08:14:05 ward Exp $
# $Dwarf: article.rb,v 1.71 2003/07/13 09:52:53 ward Exp $
# $Source$
#
# article.rb
@ -160,9 +160,9 @@ def get_articles(cachedir=false)
del_server(server)
next
end
end
save_cache(cachedir)
end
end
def get_group_info(server)
timedout = 0
@ -649,7 +649,7 @@ end
def rechunk_runlist(runlist)
return nil if runlist == nil
chunksize = 500
chunksize = 1000
blalist = runlist.split(',')
# hmmm, als het aantal articles wat tussen de komma's ligt < pak um beet 3