Remove sleep.

This commit is contained in:
邱博亞 2023-12-17 23:50:55 +08:00
parent 457a426173
commit 773cea0cc5
1 changed files with 0 additions and 8 deletions

View File

@ -45,7 +45,6 @@ module NccuSyncPlugin
jp.paper_title_translations = journal["title"]
jp.member_profile = mp
jp.save
sleep 0.5
end
end
end
@ -77,7 +76,6 @@ module NccuSyncPlugin
wc.paper_title_translations = conference["title"]
wc.member_profile = mp
wc.save
sleep 0.5
end
end
end
@ -108,7 +106,6 @@ module NccuSyncPlugin
res.research_title_translations = research["title"]
res.member_profile = mp
res.save
sleep 0.1
end
end
end
@ -140,7 +137,6 @@ module NccuSyncPlugin
boo.member_profile = mp
boo.isbn = book["number"]
boo.save
sleep 0.1
end
end
end
@ -183,7 +179,6 @@ module NccuSyncPlugin
proj.member_profile = mp
proj.project_type = pt
proj.save
sleep 0.1
end
end
puts "Projects for staff #{staff_id} completed."
@ -220,7 +215,6 @@ module NccuSyncPlugin
hon.honor_type = ht
hon.member_profile = mp
hon.save
sleep 0.1
end
end
puts "Honors for staff #{staff_id} completed."
@ -252,7 +246,6 @@ module NccuSyncPlugin
dip.school_name_translations = diploma["school"]
dip.member_profile = mp
dip.save
sleep 0.1
end
end
puts "Diplomas for staff #{staff_id} completed."
@ -291,7 +284,6 @@ module NccuSyncPlugin
exp.experience_type = et
exp.member_profile = mp
exp.save
sleep 0.1
end
end
puts "Experiences for staff #{staff_id} completed."