From 764dac659b240a5c303bb429d0663609950fec29 Mon Sep 17 00:00:00 2001 From: manson666 Date: Tue, 31 Dec 2013 10:34:01 +0800 Subject: [PATCH] Fix Sync timeout issue --- app/controllers/admin/import_data_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/import_data_controller.rb b/app/controllers/admin/import_data_controller.rb index acf67de9..e4dffb2b 100644 --- a/app/controllers/admin/import_data_controller.rb +++ b/app/controllers/admin/import_data_controller.rb @@ -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