I am playing with crossbar.io for quite a while and I faced with some sync issue. Problem: I'm running my python backend as guest worker and wants to exit router when that python guest worker is down. I've set controller.options.shutdown for "shoutdown_on_worker_exit" but seems to have no effect if just python process is killed. How can I get crossbar.io exit after the python guest process kill?
Guest process config:
{
"type": "guest",
"executable": "python3",
"arguments": ["../backend/backend.py"],
"options": {
}
}
Controller config:
"controller": {
"id": "mynode1",
"options": {
"title": "mainController",
"shutdown": ["shutdown_on_worker_exit"]
}
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.