Skip to content

Commit

Permalink
Query starting one day earlier, just in case
Browse files Browse the repository at this point in the history
  • Loading branch information
marwahaha committed Nov 1, 2023
1 parent 8763489 commit 0de6fcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/arxiv_oai_update.rake
Expand Up @@ -10,7 +10,7 @@ namespace :arxiv do
if last_paper.nil?
fromdate = Time.now-1.days
else
fromdate = last_paper.pubdate
fromdate = last_paper.pubdate-1.days
end

# Do this in a single transaction to avoid any database consistency issues
Expand Down

0 comments on commit 0de6fcb

Please sign in to comment.