1000 is a nice chunksize; save_cache a bit more often
This commit is contained in:
parent
8b0eb20bdc
commit
95c43e0619
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue