1
0
Fork 0
forked from OpenNeo/impress

Remove supervisor from the Falcon process?

Idk what it's doing, but what I do know is the Falcon process is
weirdly slow to restart on deploy. My hope was this would fix it cuz
the supervisor was maybe blocking process exits? Idk, something to look
into, I don't think this fixed it but I also don't think it broke
anything, and I think systemd is doing a fine job monitoring already?
idk
This commit is contained in:
Emi Matchu 2024-01-24 00:20:23 -08:00
parent b1eca2f3a5
commit 610177d3f5

View file

@ -1,12 +1,10 @@
#!/usr/bin/env -S falcon host
# frozen_string_literal: true
load :rack, :supervisor
load :rack
hostname = File.basename(__dir__)
rack hostname do
endpoint Async::HTTP::Endpoint.parse('http://localhost:3000').
with(protocol: Async::HTTP::Protocol::HTTP1)
end
supervisor