examples/container.rb in async-container-0.15.0 vs examples/container.rb in async-container-0.16.0
- old
+ new
@@ -7,10 +7,10 @@
Async.logger.debug(self, "Starting up...")
controller = Async::Container::Controller.new do |container|
Async.logger.debug(self, "Setting up container...")
-
+
container.run(count: 1, restart: true) do
Async.logger.debug(self, "Child process started.")
while true
sleep 1