kan anders zeker niet kloppen
This commit is contained in:
parent
ef378bf7fe
commit
34fcd4fe53
1 changed files with 1 additions and 1 deletions
|
|
@ -245,7 +245,7 @@ def get_articles(cachedir=false)
|
|||
# spul dat echt te oud is gaat nooit gevuld worden, dus doe ook geen poging het op te halen
|
||||
# wil wel wat ophalen aangezien logging aantoont dat er wel oudere articles gedownload worden
|
||||
for server in @connections.keys
|
||||
if @connections[server]["skip_ids"].max && @connections[server]["skip_ids"].max
|
||||
if @connections[server]["skip_ids"].max && @connections[server]["skip_ids"].max < @connections[server]["last"]
|
||||
articles = @connections[server]["last"] - @connections[server]["first"]
|
||||
if articles > 10000
|
||||
fillerend = (@connections[server]["skip_ids"].max - (articles/5)).to_i
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue