Skip to content

Commit

Permalink
Merge pull request #402 from betadots/yjit
Browse files Browse the repository at this point in the history
Enable YJIT
  • Loading branch information
rwaffen committed Jun 21, 2024
2 parents 3e21a0a + 87adce4 commit 229201a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ ENV APP_HOME /hdm
ENV RAILS_ENV production
ENV HDM_PORT 3000
ENV HDM_HOST 0.0.0.0
ENV RUBYOPT="--yjit"

EXPOSE $HDM_PORT

Expand Down
9 changes: 3 additions & 6 deletions bin/fake_puppet_db
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
#!/usr/bin/env ruby
# begin
# load File.expand_path('../spring', __FILE__)
# rescue LoadError => e
# raise unless e.message.include?('spring')
# end

require 'rackup'
require_relative '../test/support/fake_puppet_db'

ENV["PIDFILE"] ||= "tmp/pids/fake_puppet_db.pid"

Rack::Server.start(app: FakePuppetDB.new, Host: 'localhost', Port: 8083)
Rackup::Server.start(app: FakePuppetDB.new, Host: 'localhost', Port: 8083)

0 comments on commit 229201a

Please sign in to comment.