Open p8 opened 2 days ago
I wonder if it's load order dependent?
https://github.com/socketry/falcon/blob/main/lib/falcon.rb#L10
Yes, it could be that Rails isn't loaded there yet.
I wonder what the best strategy would be, e.g.
begin
require 'railtie'
...
rescue LoadError
# Ignore
end
I've added Falcon to the Rails TechEmpower benchmark: https://github.com/TechEmpower/FrameworkBenchmarks/pull/9339
I had to set the
isolation_level
to:fiber
by hand to make it work. https://github.com/p8/FrameworkBenchmarks/blob/f7822a3d79689164e372fba05be4ee744b1f42a4/frameworks/Ruby/rails/config/application.rb#L55Otherwise the following error would occur: