search for: syslog_progress

Displaying 1 result from an estimated 1 matches for "syslog_progress".

2006 Oct 04
0
do_work and long running rails tasks?
...ts_ipaddr_id = ?", ip.id ] ) @rows << new_rows.collect { |s| s.id } end self.kill rescue Exception => e @logger.error "Exception: #{e}" @percent = 100 self.kill end -- snip --- --- controller.rb -- def syslog_progress if request.xhr? worker = MiddleMan.get_worker(session[:host_info]) if worker progress_percent = worker.progress render :update do |page| page.call(''progressPercent'', ''progressbar'', progress_percent) @rows...