Closed JoelBender closed 6 years ago
Check out the 142-device-info-cache
branch for a patch and additional sample applications.
@JoelBender This fixes our problem with concurrent requests to the same device in the VOLTTRON BACnet Proxy.
Good! Thank you.
Each
ClientSSM
andServerSSM
instance gets aDeviceInfo
instance from the cache when it starts its work and releases it when it's done. The problem is when there is more than one active SSM there could be more than one reference to the same instance and when one SSM callsrelease_device_info()
the cache entry was removed, the second SSM call failed.