lib/base.rb in oboe-heroku-0.9.9.0 vs lib/base.rb in oboe-heroku-0.9.10.0
- old
+ new
@@ -61,10 +61,10 @@
def heroku?
true
end
def forking_webserver?
- defined?(::Unicorn)
+ (defined?(::Unicorn) and ($0 =~ /unicorn/i)) ? true : false
end
##
# These methods should be implemented by the descendants
# (Oboe_metal, Oboe_metal (JRuby), Heroku_metal)