You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because the Spectrometer Adapter uses ZeroRPC to communicate with the Windows Bridge Service, it can cause a lot of waiting should the service not be running, as each call to it has a timeout of 5 seconds. Reducing this may help, but the timeout can still cause issues of long waits simply because of the amount of calls the Adapter makes each second when trying to refresh its information.
Ideally, this would be fixed by checking once if the service is responding, and then not attempting further calls if it fails
The text was updated successfully, but these errors were encountered:
Create a simple heartbeat "are you there" method in the bridge script that can quickly be requested before requesting all the data. Modify the timeout on the request to make this one check super quick so checking if the bridge script is live does not take too long.
Then, the bridge script can use psutil to check if Lightfield is actually running. Similar to how it checks if it needs to stop a zombie process running, but find some way to differentiate the zombie process from the currently live one?
Because the Spectrometer Adapter uses ZeroRPC to communicate with the Windows Bridge Service, it can cause a lot of waiting should the service not be running, as each call to it has a timeout of 5 seconds. Reducing this may help, but the timeout can still cause issues of long waits simply because of the amount of calls the Adapter makes each second when trying to refresh its information.
Ideally, this would be fixed by checking once if the service is responding, and then not attempting further calls if it fails
The text was updated successfully, but these errors were encountered: