Fix Sync timeout issue

This commit is contained in:
manson666 2013-12-31 10:34:01 +08:00 committed by Manson Wang
parent aca97f85d8
commit 52f8e9f1b8
1 changed files with 1 additions and 1 deletions

View File

@ -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