da-marketplace icon indicating copy to clipboard operation
da-marketplace copied to clipboard

useStreamQuery hooks are disconnecting unexpectedly

Open alexmatson-da opened this issue 4 years ago • 3 comments

alexmatson-da avatar Sep 29 '20 14:09 alexmatson-da

@alexmatson-da we verified that this also happens to the create to create-daml-app. perhaps we should involve the authors of daml.js?

dimitri-da avatar Oct 02 '20 13:10 dimitri-da

I was only able to get it to happen with create-daml-app once. I tried again later and couldn't get it to happen with the template.

I've been discussing with Gary on the forum https://discuss.daml.com/t/usestreamquery-disconnecting/1325/6 and I think I'm going to try to see if a lower reconnectThreshold helps alleviate the issue

alexmatson-da avatar Oct 02 '20 14:10 alexmatson-da

Hopefully fixed with #169 , leaving open pending further testing

alexmatson-da avatar Jan 25 '21 14:01 alexmatson-da