search for: time_remaining_float

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

2007 Feb 20
1
error message for record not found ?
...ssion(args) sleep(2) clean_up end def watch_session(args) while @time_remaining > 0 sleep(1) emrec = Emrec.find(@emrec_id) if emrec != nil if emrec.timer_suspended == ''no'' last_activity = emrec.last_updated_at time_remaining_float = (last_activity + args[:initial_setting].to_i) - Time.now @time_remaining = time_remaining_float.to_i end else @time_remaining = 0 end end end def clean_up emrec = Emrec.find(@emrec_id) if emrec != nil emrec.cleanup Session.delet...