Displaying 1 result from an estimated 1 matches for "syslog_rows".
2006 Oct 04
0
do_work and long running rails tasks?
...if worker
progress_percent = worker.progress
render :update do |page|
page.call(''progressPercent'', ''progressbar'', progress_percent)
@rows = Sysloglog.find( worker.rows) rescue []
page.replace_html ''syslog_rows'', :partial => "analysis/
syslog", :object => @rows
if progress_percent >= 100
page.assign ''stop_polling'', true #<< here is the magick!
page.hide ''progress''
MiddleMan.delete_work...