lib/falcon/controller/serve.rb in falcon-0.35.4 vs lib/falcon/controller/serve.rb in falcon-0.35.5
- old
+ new
@@ -67,17 +67,13 @@
def name
"Falcon Server"
end
def setup(container)
- app, _ = self.load_app
-
- if GC.respond_to?(:compact)
- GC.compact
- end
-
container.run(name: self.name, restart: true, **@command.container_options) do |instance|
Async do |task|
+ app = self.load_app
+
task.async do
if @debug_trap.install!
Async.logger.info(instance) do
"- Per-process status: kill -USR1 #{Process.pid}"
end