tweak-wtf Posted August 1, 2019 Report Posted August 1, 2019 Hey folks, I was wondering about how many parallel connections to the EventHub are possible. I have a dedicated process running connected to the EventHub invoking session.event_hub.wait(). When I connect from somewhere else to an API server session with `auto_connect_event_hub=True` I get an error message telling me that the conenction to the EventHub can't be established. Is that because only 1 process can connect to it when invoking `session.event_hub.wait()`? All the best, Tony
JPrydz Posted August 6, 2019 Report Posted August 6, 2019 Hi Tony, You can have multiple connections against the Eventhub. Are you having multiple scripts using connections against the hub? With the same account being used for the connections? We recommend passing auto_connect_event_hub=False when creating a session if the event hub is not going to be used:http://ftrack-python-api.rtd.ftrack.com/en/stable/api_reference/session.html#ftrack_api.session.Session We can look further into this, but need some more information. Would it be ok to continue in the support channel? Regards, Johan
Recommended Posts
Archived
This topic is now archived and is closed to further replies.