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:
parent
b1eca2f3a5
commit
610177d3f5
1 changed files with 1 additions and 3 deletions
|
@ -1,12 +1,10 @@
|
||||||
#!/usr/bin/env -S falcon host
|
#!/usr/bin/env -S falcon host
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
load :rack, :supervisor
|
load :rack
|
||||||
|
|
||||||
hostname = File.basename(__dir__)
|
hostname = File.basename(__dir__)
|
||||||
rack hostname do
|
rack hostname do
|
||||||
endpoint Async::HTTP::Endpoint.parse('http://localhost:3000').
|
endpoint Async::HTTP::Endpoint.parse('http://localhost:3000').
|
||||||
with(protocol: Async::HTTP::Protocol::HTTP1)
|
with(protocol: Async::HTTP::Protocol::HTTP1)
|
||||||
end
|
end
|
||||||
|
|
||||||
supervisor
|
|
||||||
|
|
Loading…
Reference in a new issue