Skip to content

Commit

Permalink
Use strings instead of symbols to look more like JS
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkinson committed Jan 24, 2015
1 parent 1cd842b commit f5c21c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ruby-app/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# See https://docs.qmachine.org/en/latest/ruby.html for more information.
#
# ~~ (c) SRW, 24 Apr 2013
# ~~ last updated 22 Jan 2015
# ~~ last updated 23 Jan 2015

require 'rubygems'
require 'bundler'
Expand All @@ -26,11 +26,11 @@
}

if (ENV['QM_API_STRING']) then
options[:persistent_storage] = JSON.parse(ENV['QM_API_STRING'])
options['persistent_storage'] = JSON.parse(ENV['QM_API_STRING'])
end

if (ENV['TRAVIS'] == 'true') then
options[:worker_procs] = 1
options['worker_procs'] = 1
end

QM.launch_service(options)
Expand Down

0 comments on commit f5c21c8

Please sign in to comment.