client
client copied to clipboard
Made LS Cient requests tenacious
- fixed incorrect function call
If the DH LS instance shuts down due to inactivity but the client variable persists, the client does not retry queries until the instance is back online. This changes overrides the request mechanism to make requests tenacious.
Found a bug fixing now
Another design, after talk with Guy (implement myself), that won't force us to fix it after every new version:
- Wrap all callables/properties with a call to a "is workspace alive" endpoint
- make sure only the top-level stack call is doing that
- Have a global throttle so the "is workplace alive" check is run only once every x seconds