#Service up() is cancellable with sigterm only?

1 messages · Page 1 of 1 (latest)

keen shore
#

What is the idiomatic way to start and shutdown service using python SDK with exposed ports to host?
As far as I know up blocks and waits for sigterm.

...
await container.as_service().up()
...

Is concurrently awaiting second async task that continues processing and cancelling the await up() when required the right approach?

whole ingot