# File lib/rq-2.3.1/jobqueue.rb, line 631 def jobisdone job #--{{{ sql = "update jobs\nset\nstate = '\#{ job['state'] }',\nexit_status = '\#{ job['exit_status'] }',\nfinished = '\#{ job['finished'] }',\nelapsed = '\#{ job['elapsed'] }'\nwhere jid = \#{ job['jid'] };\n" execute sql #--}}} end