Skip to content

Commit

Permalink
Dont query arXiv as often
Browse files Browse the repository at this point in the history
  • Loading branch information
marwahaha committed Oct 30, 2023
1 parent 8192f54 commit 55e9c2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/arxiv_authorship_update.rake
Expand Up @@ -9,7 +9,7 @@ namespace :arxiv do
begin
$stderr.puts "Updating username #{user.username}"
user.update_authorship!
sleep 1
sleep 2
rescue OpenURI::HTTPError
$stderr.puts "Invalid author_identifier for #{user.username}: #{user.author_identifier}"
rescue ActiveRecord::RecordInvalid => invalid
Expand Down

0 comments on commit 55e9c2a

Please sign in to comment.