lib/falcon/controller/serve.rb in falcon-0.36.0 vs lib/falcon/controller/serve.rb in falcon-0.36.1
- old
+ new
@@ -67,10 +67,10 @@
def name
"Falcon Server"
end
def setup(container)
- container.run(name: self.name, restart: true, **@command.container_options) do |instance|
+ container.run(count: 1, name: self.name, restart: true, **@command.container_options) do |instance|
Async do |task|
# Load one app instance per container:
app = self.load_app
task.async do