Method: WebappWorker::System#check_process_version

Defined in:
lib/webapp_worker/system.rb

#check_process_versionObject



151
152
153
154
155
156
157
158
159
# File 'lib/webapp_worker/system.rb', line 151

def check_process_version
  @logger.info "Asking the processes version from IPC: #{@ipc_file}"

  DRb.start_service
  version = DRbObject.new_with("drbunix:#{@ipc_file}", nil)

  @logger.info "The process' version is: #{version}"
  return version
end