- CloudBees Feature Management
- Our python software hangs after the rollout python SDK is instantiated. We have a django application that creates a connection to FM using the python SDK. The following snippet initialises FM.
cancel_event = Rox.setup(settings.ROLLOUT_KEY).result()
However, when our code tries to exit, it cannot because it is blocked waiting for threads to exit.
This is expected. Rollout SDK usually targets servers (not scripts), and as servers usually die itself and are not stopped, it does not have a proper shutdown.
One approach would be using the following command: