Fix Sync timeout issue
This commit is contained in:
parent
da75ac771c
commit
764dac659b
|
@ -568,6 +568,7 @@ def sync_journal_paper_data_auto
|
|||
# teachers.each do |hash|
|
||||
# if user.sid.present?
|
||||
if user.user_id.present?
|
||||
next if user.user_id=="chenlin"
|
||||
# ntu_seq = user.sid
|
||||
u_account = user.user_id
|
||||
paper_xml = Nokogiri::XML( \
|
||||
|
@ -631,7 +632,6 @@ def sync_journal_paper_data_auto
|
|||
end
|
||||
end
|
||||
puts "Sync "+u_account+"\r\n"
|
||||
sleep(5)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Reference in New Issue