client icon indicating copy to clipboard operation
client copied to clipboard

Made LS Cient requests tenacious

Open jinensetpal opened this issue 1 year ago • 3 comments

  • 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.

jinensetpal avatar Jan 08 '25 17:01 jinensetpal

Found a bug fixing now

jinensetpal avatar Jan 08 '25 19:01 jinensetpal

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

kbolashev avatar Jan 12 '25 10:01 kbolashev